lib: AbstractSorter accepts null
[nit.git] / lib / standard / collection / sorter.nit
index 381c78d..0b4cd39 100644 (file)
@@ -19,7 +19,7 @@ import array
 
 # This abstract class generalizes ways to sort an array
 # TODO: rename *Sorter to *Comparator
-interface AbstractSorter[E: Object]
+interface AbstractSorter[E]
        # Compare `a' and `b'.
        # Returns:
        #       -1 if a < b