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 6e2619f commit 1ca515bCopy full SHA for 1ca515b
src/main/java/apijson/framework/AssertUtil.java
@@ -29,7 +29,7 @@ public static void assertEqual(Object a, Object b, String errorMessage) {
29
return;
30
}
31
32
- if (a == null || b == null || a.equals(b) == false) {
+ if (a == null || !a.equals(b)) {
33
throw new AssertionError(errorMessage == null ? "assert fail: a != b" : errorMessage);
34
35
0 commit comments