"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/java/edu/umd/cs/findbugs/ErrorCountingBugReporter.java" between
findbugs-3.0.0-source.zip and findbugs-3.0.1-source.zip

About: FindBugs uses static analysis to look for bugs in Java code. Source.

ErrorCountingBugReporter.java  (findbugs-3.0.0-source):ErrorCountingBugReporter.java  (findbugs-3.0.1-source)
skipping to change at line 72 skipping to change at line 72
@Override @Override
public void logError(String message) { public void logError(String message) {
if (errors.add(message)) { if (errors.add(message)) {
super.logError(message); super.logError(message);
} }
} }
@Override @Override
public void reportMissingClass(ClassNotFoundException ex) { public void reportMissingClass(ClassNotFoundException ex) {
String missing = AbstractBugReporter.getMissingClassName(ex); String missing = AbstractBugReporter.getMissingClassName(ex);
if (missing == null || missing.startsWith("[") || missing.equals("java.l ang.Synthetic")) { if (missing == null || missing.startsWith("[") || "java.lang.Synthetic". equals(missing)) {
return; return;
} }
if (missingClassSet.add(missing)) { if (missingClassSet.add(missing)) {
super.reportMissingClass(ex); super.reportMissingClass(ex);
} }
} }
} }
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added

Home  |  About  |  All  |  Newest  |  Fossies Dox  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTPS