Skip to content

Commit ecd9de2

Browse files
committed
Inplaces: remove unused getInplacesOfArity method
1 parent 8475b03 commit ecd9de2

File tree

2 files changed

+0
-14
lines changed

2 files changed

+0
-14
lines changed

scijava-function/src/main/java/org/scijava/function/Inplaces.java

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -508,13 +508,6 @@ public static boolean isInplace(Class<?> c) {
508508
return ALL_ARITIES.containsKey(c);
509509
}
510510

511-
public static List<Class<?>> getInplacesOfArity(final int arity) {
512-
return ALL_INPLACES.entrySet().stream() //
513-
.filter(e -> e.getKey().arity() == arity) //
514-
.map(Entry::getValue) //
515-
.collect(Collectors.toList());
516-
}
517-
518511
/**
519512
* @param arity an {@code int} corresponding to a {@code Inplace} of that
520513
* arity.

scijava-function/templates/main/java/org/scijava/function/Inplaces.vm

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -82,13 +82,6 @@ public final class Inplaces {
8282
return ALL_ARITIES.containsKey(c);
8383
}
8484

85-
public static List<Class<?>> getInplacesOfArity(final int arity) {
86-
return ALL_INPLACES.entrySet().stream() //
87-
.filter(e -> e.getKey().arity() == arity) //
88-
.map(Entry::getValue) //
89-
.collect(Collectors.toList());
90-
}
91-
9285
/**
9386
* @param arity an {@code int} corresponding to a {@code Inplace} of that
9487
* arity.

0 commit comments

Comments
 (0)