Skip to content

Commit 4e876d6

Browse files
committed
ConvertService: update getCompatibleInputs docs
Add javadoc and move out of deprecated section
1 parent 2409037 commit 4e876d6

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

src/main/java/org/scijava/convert/ConvertService.java

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,12 @@ public interface ConvertService extends
8383
*/
8484
boolean supports(Object src, Type dest);
8585

86+
/**
87+
* @return A collection of instances that could be converted to the
88+
* specified class.
89+
*/
90+
Collection<Object> getCompatibleInputs(Class<?> dest);
91+
8692
// -- Deprecated API --
8793

8894
/**
@@ -112,6 +118,4 @@ public interface ConvertService extends
112118
*/
113119
@Deprecated
114120
boolean supports(Class<?> src, Type dest);
115-
116-
Collection<Object> getCompatibleInputs(Class<?> dest);
117121
}

0 commit comments

Comments
 (0)