|
41 | 41 |
|
42 | 42 | import org.scijava.InstantiableException; |
43 | 43 | import org.scijava.log.LogService; |
44 | | -import org.scijava.ops.Ops.OpIdentifier; |
45 | 44 | import org.scijava.ops.core.Op; |
46 | 45 | import org.scijava.ops.core.OpCollection; |
47 | 46 | import org.scijava.ops.matcher.MatchingResult; |
@@ -188,22 +187,12 @@ public <T> T findOp(final Nil<T> specialType, final Nil<?>[] inTypes, final Nil< |
188 | 187 | return findOpInstance(null, specialType, inTypes, new Nil[] { outType }, secondaryArgs).object(); |
189 | 188 | } |
190 | 189 |
|
191 | | - public <T> T findOp(final OpIdentifier op, final Nil<T> specialType, final Nil<?>[] inTypes, |
192 | | - final Nil<?>[] outTypes, final Object... secondaryArgs) { |
193 | | - return findOpInstance(op.getName(), specialType, inTypes, outTypes, secondaryArgs).object(); |
194 | | - } |
195 | | - |
196 | | - public <T, E extends OpIdentifier> T findOp(final OpIdentifier op, final Nil<T> specialType, final Nil<?>[] inTypes, |
197 | | - final Nil<?> outType, final Object... secondaryArgs) { |
198 | | - return findOpInstance(op.getName(), specialType, inTypes, new Nil[] { outType }, secondaryArgs).object(); |
199 | | - } |
200 | | - |
201 | 190 | public <T> T findOp(final String opName, final Nil<T> specialType, final Nil<?>[] inTypes, final Nil<?>[] outTypes, |
202 | 191 | final Object... secondaryArgs) { |
203 | 192 | return findOpInstance(opName, specialType, inTypes, outTypes, secondaryArgs).object(); |
204 | 193 | } |
205 | 194 |
|
206 | | - public <T, E extends OpIdentifier> T findOp(final String opName, final Nil<T> specialType, final Nil<?>[] inTypes, |
| 195 | + public <T> T findOp(final String opName, final Nil<T> specialType, final Nil<?>[] inTypes, |
207 | 196 | final Nil<?> outType, final Object... secondaryArgs) { |
208 | 197 | return findOpInstance(opName, specialType, inTypes, new Nil[] { outType }, secondaryArgs).object(); |
209 | 198 | } |
@@ -261,9 +250,9 @@ private static String getIndent(int numOfTabs) { |
261 | 250 |
|
262 | 251 | /** |
263 | 252 | * Class to represent a query for a {@link PrefixTree}. Prefixes must be |
264 | | - * separated by dots ('.'). E.g. 'math.add'. These queries are used in |
265 | | - * order to specify the level where elements should be inserted into or |
266 | | - * retrieved from the tree. |
| 253 | + * separated by dots ('.'). E.g. 'math.add'. These queries are used in order |
| 254 | + * to specify the level where elements should be inserted into or retrieved |
| 255 | + * from the tree. |
267 | 256 | */ |
268 | 257 | private static class PrefixQuery { |
269 | 258 | String cachedToString; |
|
0 commit comments