"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/java/edu/umd/cs/findbugs/ba/InnerClassAccessMap.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.

InnerClassAccessMap.java  (findbugs-3.0.0-source):InnerClassAccessMap.java  (findbugs-3.0.1-source)
skipping to change at line 319 skipping to change at line 319
if (!methodParams.equals(expectedMethodParams)) { if (!methodParams.equals(expectedMethodParams)) {
if (DEBUG) { if (DEBUG) {
System.out.println("In " + javaClass.getClassName() + "." + methodName + " expected params " System.out.println("In " + javaClass.getClassName() + "." + methodName + " expected params "
+ expectedMethodParams + ", saw " + methodParams); + expectedMethodParams + ", saw " + methodParams);
System.out.println(isLoad ? "LOAD" : "STORE"); System.out.println(isLoad ? "LOAD" : "STORE");
} }
return false; return false;
} }
// Return type can be either the type of the field, or void. // Return type can be either the type of the field, or void.
if (!methodReturnType.equals("V") && !methodReturnType.equals(field. getSignature())) { if (!"V".equals(methodReturnType) && !methodReturnType.equals(field. getSignature())) {
if (DEBUG) { if (DEBUG) {
System.out.println("In " + javaClass.getClassName() + "." + methodName + " expected return type V or " System.out.println("In " + javaClass.getClassName() + "." + methodName + " expected return type V or "
+ field.getSignature() + ", saw " + methodReturnType ); + field.getSignature() + ", saw " + methodReturnType );
System.out.println(isLoad ? "LOAD" : "STORE"); System.out.println(isLoad ? "LOAD" : "STORE");
} }
return false; return false;
} }
return true; return true;
} }
 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