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() + ")");
}
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() + ")");
}