File tree 1 file changed +21
-0
lines changed
1 file changed +21
-0
lines changed Original file line number Diff line number Diff line change @@ -1392,6 +1392,27 @@ public byte[] getBytes() {
1392
1392
* @diffblue.fullSupport
1393
1393
*/
1394
1394
public boolean equals (Object anObject ) {
1395
+ // if (this == anObject) {
1396
+ // return true;
1397
+ // }
1398
+ // if (anObject instanceof String) {
1399
+ // String anotherString = (String)anObject;
1400
+ // int n = value.length;
1401
+ // if (n == anotherString.value.length) {
1402
+ // char v1[] = value;
1403
+ // char v2[] = anotherString.value;
1404
+ // int i = 0;
1405
+ // while (n-- != 0) {
1406
+ // if (v1[i] != v2[i])
1407
+ // return false;
1408
+ // i++;
1409
+ // }
1410
+ // return true;
1411
+ // }
1412
+ // }
1413
+ // return false;
1414
+
1415
+ // DIFFBLUE MODEL LIBRARY Use CProverString function
1395
1416
if (anObject instanceof String ) {
1396
1417
return CProverString .equals ((String )anObject , this );
1397
1418
}
You can’t perform that action at this time.
0 commit comments