Skip to content

Commit 73b5a1a

Browse files
Add model for String.valueOf(boolean)
1 parent b7737c7 commit 73b5a1a

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

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

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3873,9 +3873,7 @@ public static String copyValueOf(char data[]) {
38733873
* @diffblue.untested
38743874
*/
38753875
public static String valueOf(boolean b) {
3876-
// DIFFBLUE MODEL LIBRARY This is treated internally in CBMC
3877-
return CProver.nondetWithoutNullForNotModelled();
3878-
// return b ? "true" : "false";
3876+
return b ? "true" : "false";
38793877
}
38803878

38813879
/**

0 commit comments

Comments
 (0)