修改阻断问题
This commit is contained in:
parent
8c9f513b35
commit
f639d9d3e1
|
@ -50,10 +50,10 @@ public class AlphanumericComparatorTest {
|
||||||
String str1 = unsortedStrings[i];
|
String str1 = unsortedStrings[i];
|
||||||
String str2 = correctlySortedStrings[i];
|
String str2 = correctlySortedStrings[i];
|
||||||
|
|
||||||
if (str1!=null&&!(str1 == null && str2 == null) && !str1.equals(str2)) {
|
|
||||||
sortedCorrectly = false;
|
sortedCorrectly = false;
|
||||||
break;
|
break;
|
||||||
}
|
|
||||||
}
|
}
|
||||||
Assert.assertTrue(sortedCorrectly);
|
Assert.assertTrue(sortedCorrectly);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue