4444import org .scijava .table .DefaultGenericTable ;
4545import org .scijava .table .GenericTable ;
4646import org .scijava .ui .UIService ;
47- import org .scijava .util .ClassUtils ;
47+ import org .scijava .util .Types ;
4848
4949/**
5050 * A postprocessor which aggregates simple output values into a single table,
5353 * @author Curtis Rueden
5454 */
5555@ Plugin (type = PostprocessorPlugin .class ,
56- priority = Priority .VERY_LOW_PRIORITY + 1 )
56+ priority = Priority .VERY_LOW + 1 )
5757public class ResultsPostprocessor extends AbstractPostprocessorPlugin {
5858
5959 @ Parameter (required = false )
@@ -79,7 +79,7 @@ public void process(final Module module) {
7979 });
8080
8181 if (outputs .isEmpty ()) return ; // no compatible outputs
82- if (outputs .size () == 1 && ClassUtils .isText (outputs .get (0 ).getType ())) {
82+ if (outputs .size () == 1 && Types .isText (outputs .get (0 ).getType ())) {
8383 // sole compatible output is a string; let the TextDisplay handle it
8484 return ;
8585 }
@@ -117,9 +117,9 @@ private boolean isSimple(final Module m, final ModuleItem<?> item) {
117117 }
118118
119119 private boolean isSimpleType (final Class <?> type ) {
120- return ClassUtils .isText (type ) || //
121- ClassUtils .isNumber (type ) || //
122- ClassUtils .isBoolean (type );
120+ return Types .isText (type ) || //
121+ Types .isNumber (type ) || //
122+ Types .isBoolean (type );
123123 }
124124
125125 private boolean isSimpleValue (final Object o ) {
0 commit comments