public static void findbugDoesNotTrigger(List<String> object) {
String string2 = "AnyString";
if(object.get(0) == string2) {
System.out.println("Does not matter at all");
}
}
在这里,我预计 ES_COMPARING_STRINGS_WITH_EQ 或 ES_COMPARING_PARAMETER_STRING_WITH_EQ 会触发,但事实并非如此。我在这里想念什么?