فهرست منبع

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