Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ public class ScannerEngine {
private Method findSimilarMethod(Class<?> objectClazz, Method method) {
Method[] methods = objectClazz.getDeclaredMethods();
for (Method m : methods) {
if (equals(m, method)) {
if (isEquals(m, method)) {
return m;
}
}
Expand Down Expand Up @@ -86,7 +86,7 @@ public void scan(Namespace namespace, Object object, Class<?> clazz)

}

private boolean equals(Method method1, Method method2) {
private boolean isEquals(Method method1, Method method2) {
if (!method1.getName().equals(method2.getName())
|| !method1.getReturnType().equals(method2.getReturnType())) {
return false;
Expand Down