summaryrefslogtreecommitdiffstats
path: root/ajdoc/testsrc
diff options
context:
space:
mode:
authoraclement <aclement>2008-08-22 19:08:04 +0000
committeraclement <aclement>2008-08-22 19:08:04 +0000
commitfce5864ed5c5b858ffa813557fa979ea3421466b (patch)
tree44f5fc1ab686038b8a2d8a852b72a9a01b24d3f0 /ajdoc/testsrc
parentba7d08a7631a6e7ee4685f4a893bb69ac6151aab (diff)
downloadaspectj-fce5864ed5c5b858ffa813557fa979ea3421466b.tar.gz
aspectj-fce5864ed5c5b858ffa813557fa979ea3421466b.zip
eclipse: redundant null check
Diffstat (limited to 'ajdoc/testsrc')
-rw-r--r--ajdoc/testsrc/org/aspectj/tools/ajdoc/BugTests.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/ajdoc/testsrc/org/aspectj/tools/ajdoc/BugTests.java b/ajdoc/testsrc/org/aspectj/tools/ajdoc/BugTests.java
index a1fdc0498..647b71b22 100644
--- a/ajdoc/testsrc/org/aspectj/tools/ajdoc/BugTests.java
+++ b/ajdoc/testsrc/org/aspectj/tools/ajdoc/BugTests.java
@@ -139,7 +139,7 @@ public class BugTests extends AjdocTestCase {
File[] files = {new File(getAbsoluteProjectDir() + "/C.java")};
runAjdoc(files);
File htmlFile = new File(getAbsolutePathOutdir() + "/C.html");
- if (htmlFile == null || !htmlFile.exists()) {
+ if (!htmlFile.exists()) {
fail("couldn't find " + htmlFile.getAbsolutePath() +
" (ajc aborted: " + Main.hasAborted() + ")");
}
@@ -169,7 +169,7 @@ public class BugTests extends AjdocTestCase {
File[] files = {new File(getAbsoluteProjectDir() + "/C.java")};
runAjdoc(files);
File htmlFile = new File(getAbsolutePathOutdir() + "/C.html");
- if (htmlFile == null || !htmlFile.exists()) {
+ if (!htmlFile.exists()) {
fail("couldn't find " + htmlFile.getAbsolutePath() +
" (ajc aborted: " + Main.hasAborted() + ")");
}