Skip to content

Commit

Permalink
NIFI-14051 Fixed accidental removal.
Browse files Browse the repository at this point in the history
  • Loading branch information
dan-s1 committed Dec 6, 2024
1 parent 7c269ed commit 8b6efbc
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ public static List<Method> findMethodsWithAnnotations(final Class<?> clazz, fina

private static List<Method> discoverMethodsWithAnnotations(final Class<?> clazz, final Class<? extends Annotation>[] annotations) {
// Consider two methods equal if they have the same name and same parameter types.
final Comparator<Method> comparator = Comparator.comparing(Method::getName).thenComparing(new Comparator<Method>() {
final Comparator<Method> comparator = Comparator.comparing(Method::getName).thenComparing(new Comparator<>() {
@Override
public int compare(final Method o1, final Method o2) {
return createString(o1.getParameterTypes()).compareTo(createString(o2.getParameterTypes()));
Expand Down

0 comments on commit 8b6efbc

Please sign in to comment.