瀏覽代碼

Revert "add null check"

This reverts commit e55f0e43b95670a0be320709876234d6ef08eccf.
AndyScherzinger 7 年之前
父節點
當前提交
a2f1aafca3
共有 1 個文件被更改,包括 0 次插入5 次删除
  1. 0 5
      src/main/java/third_parties/daveKoeller/AlphanumComparator.java

+ 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();