We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 308591d commit d53136fCopy full SHA for d53136f
processing.js
@@ -9373,8 +9373,7 @@
9373
return subject.equals.apply(subject, removeFirstArgument(arguments));
9374
}
9375
9376
- // TODO use virtEquals for HashMap here
9377
- return subject.valueOf() === other.valueOf();
+ return virtEquals(subject, other);
9378
};
9379
/**
9380
* The __equalsIgnoreCase() function compares two strings to see if they are the same.
test/unit/string_equals_null.pde
@@ -0,0 +1,3 @@
1
+String test = "test";
2
+String nullTest = null;
3
+_checkEqual(test.equals(nullTest), false);
0 commit comments