You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

CombinedLogic.java 384B

123456789101112131415161718192021
  1. import org.aspectj.testing.Tester;
  2. /**
  3. * Test for: PR #99
  4. */
  5. public class CombinedLogic {
  6. public static void main(String[] args) { test(); }
  7. public static void test() {
  8. Object foo = null;
  9. int baz = 1;
  10. int foobaz = baz;
  11. if ((null == foo) && (baz != foobaz)) {
  12. Tester.check(false, "better not");
  13. } else {
  14. Tester.check(true, "it better be true");
  15. }
  16. }
  17. }