Skip to content

Commit 6e1b82f

Browse files
committed
winner won't be a null
1 parent afdbb67 commit 6e1b82f

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/main/java/org/apache/ibatis/reflection/Reflector.java

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -118,9 +118,7 @@ private void resolveGetterConflicts(Map<String, List<Method>> conflictingGetters
118118
break;
119119
}
120120
}
121-
if (winner != null) {
122-
addGetMethod(propName, winner, isAmbiguous);
123-
}
121+
addGetMethod(propName, winner, isAmbiguous);
124122
}
125123
}
126124

0 commit comments

Comments
 (0)