Skip to content

Commit 4151adf

Browse files
committed
Deprecate ConversionUtils class as a whole
All public methods (except for setDelegateService, which only exists for backwards compatibility with already-deprecated methods) are now deprecated in favor of ConvertService and Types. So let's explicitly recommend those classes instead.
1 parent 4db4557 commit 4151adf

File tree

1 file changed

+2
-9
lines changed

1 file changed

+2
-9
lines changed

src/main/java/org/scijava/util/ConversionUtils.java

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -40,15 +40,8 @@
4040
import org.scijava.convert.DefaultConverter;
4141
import org.scijava.util.Types;
4242

43-
/**
44-
* Useful methods for converting and casting between classes and types.
45-
* <p>
46-
* For extensible type conversion, use {@link ConvertService}.
47-
* </p>
48-
*
49-
* @author Curtis Rueden
50-
* @author Mark Hiner
51-
*/
43+
/** @deprecated use {@link ConvertService} and {@link Types} */
44+
@Deprecated
5245
public class ConversionUtils {
5346

5447
private static ConvertService convertService;

0 commit comments

Comments
 (0)