Skip to content

Commit

Permalink
remove accidental commits of System.out.println lines
Browse files Browse the repository at this point in the history
  • Loading branch information
BalusC committed Jan 24, 2025
1 parent ad58483 commit 86ae4b2
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/main/java/org/omnifaces/utils/reflect/Reflections.java
Original file line number Diff line number Diff line change
Expand Up @@ -188,12 +188,7 @@ private static void collectInterfaceMethods(List<Method> methods, Class<?> iface

private static void collectMethods(List<Method> methods, Class<?> type, boolean iface, String methodName, Object... params) {
for (Method method : type.getDeclaredMethods()) {
System.out.println(type + " --> " + method.getName());
if (method.getName().equals(methodName)) {
System.out.println(" ==> found! --> "+ method.getParameterTypes().length + " == " + params.length);
}
if ((!iface || method.isDefault()) && method.getName().equals(methodName) && method.getParameterTypes().length == params.length && isNotOverridden(methods, method)) {
System.out.println(" ==> added!");
methods.add(method);
}
}
Expand Down

0 comments on commit 86ae4b2

Please sign in to comment.