Skip to content

Commit 7665490

Browse files
fixup! Implement model for String.equals
1 parent 5214bae commit 7665490

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/java/lang/String.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1633,7 +1633,7 @@ public int compareTo(String anotherString) {
16331633
// DIFFBLUE MODEL LIBRARY For some reason this needs to be not null for
16341634
// FileReader tests to pass.
16351635
public static final Comparator<String> CASE_INSENSITIVE_ORDER
1636-
= null;
1636+
= CProver.nondetWithoutNullForNotModelled();
16371637
// DIFFBLUE MODEL LIBRARY Not needed for modelling
16381638
// private static class CaseInsensitiveComparator
16391639
// implements Comparator<String>, java.io.Serializable {

0 commit comments

Comments
 (0)