Forráskód Böngészése

Revert "add null check"

This reverts commit e55f0e43b95670a0be320709876234d6ef08eccf.
AndyScherzinger 7 éve
szülő
commit
a2f1aafca3

+ 0 - 5
src/main/java/third_parties/daveKoeller/AlphanumComparator.java

@@ -105,11 +105,6 @@ public class AlphanumComparator<T> implements Comparator<T>, Serializable {
     }
 
     public int compare(String s1, String s2) {
-        if ((s1 == null) || (s2 == null))
-        {
-            return 0;
-        }
-        
         int thisMarker = 0;
         int thatMarker = 0;
         int s1Length = s1.length();