|
@@ -122,8 +122,14 @@ public abstract class Plugin implements Comparable<Plugin> {
|
122
|
122
|
*/
|
123
|
123
|
public abstract String toString();
|
124
|
124
|
|
125
|
|
- /** {@inheritDoc} */
|
|
125
|
+ /**
|
|
126
|
+ * Compares this object with the specified object for order.
|
|
127
|
+ * Returns a negative integer, zero, or a positive integer as per String.compareTo();
|
|
128
|
+ *
|
|
129
|
+ * @param o Object to compare to
|
|
130
|
+ * @return a negative integer, zero, or a positive integer.
|
|
131
|
+ */
|
126
|
132
|
public int compareTo(Plugin o) {
|
127
|
133
|
return toString().compareTo(o.toString());
|
128
|
134
|
}
|
129
|
|
-}
|
|
135
|
+}
|