File tree Expand file tree Collapse file tree 1 file changed +0
-16
lines changed
src/main/java/org/scijava/plugin Expand file tree Collapse file tree 1 file changed +0
-16
lines changed Original file line number Diff line number Diff line change 3232package org .scijava .plugin ;
3333
3434import org .scijava .AbstractContextual ;
35- import org .scijava .Prioritized ;
3635import org .scijava .Priority ;
37- import org .scijava .util .ClassUtils ;
3836
3937/**
4038 * Abstract base class for {@link RichPlugin} implementations.
@@ -83,18 +81,4 @@ public void setInfo(final PluginInfo<?> info) {
8381 this .info = info ;
8482 }
8583
86- // -- Comparable methods --
87-
88- @ Override
89- public int compareTo (final Prioritized that ) {
90- if (that == null ) return 1 ;
91-
92- // compare priorities
93- final int priorityCompare = Priority .compare (this , that );
94- if (priorityCompare != 0 ) return priorityCompare ;
95-
96- // compare classes
97- return ClassUtils .compare (getClass (), that .getClass ());
98- }
99-
10084}
You can’t perform that action at this time.
0 commit comments