Matthew Dempsky has submitted this change and it was merged.
Change subject: Fix broken build: s/assertNonNull/assertNotNull/
......................................................................
Fix broken build: s/assertNonNull/assertNotNull/
Change-Id: Id5943b8470f4b3b12912ff82710e8937ed8f7b2f
---
M user/test/com/google/gwt/json/client/JSONTest.java
1 file changed, 5 insertions(+), 5 deletions(-)
Approvals:
Matthew Dempsky: Looks good to me, approved
Leeroy Jenkins: Verified
Thomas Broyer: Looks good to me, but someone else must approve
diff --git a/user/test/com/google/gwt/json/client/JSONTest.java
b/user/test/com/google/gwt/json/client/JSONTest.java
index dd6440d..fcdda20 100644
--- a/user/test/com/google/gwt/json/client/JSONTest.java
+++ b/user/test/com/google/gwt/json/client/JSONTest.java
@@ -73,29 +73,29 @@
if (expected.isArray() != null) {
JSONArray expArray = expected.isArray();
JSONArray actArray = actual.isArray();
- assertNonNull(actArray);
+ assertNotNull(actArray);
assertJSONArrayEquals(expArray, actArray);
} else if (expected.isBoolean() != null) {
JSONBoolean expBool = expected.isBoolean();
JSONBoolean actBool = actual.isBoolean();
- assertNonNull(actBool);
+ assertNotNull(actBool);
assertEquals(expBool.booleanValue(), actBool.booleanValue());
} else if (expected.isNull() != null) {
assertNotNull(actual.isNull());
} else if (expected.isNumber() != null) {
JSONNumber expNum = expected.isNumber();
JSONNumber actNum = actual.isNumber();
- assertNonNull(actNum);
+ assertNotNull(actNum);
assertEquals(expNum.doubleValue(), actNum.doubleValue());
} else if (expected.isObject() != null) {
JSONObject expObj = expected.isObject();
JSONObject actObj = actual.isObject();
- assertNonNull(actObj);
+ assertNotNull(actObj);
assertJSONObjectEquals(expObj, actObj);
} else if (expected.isString() != null) {
JSONString expStr = expected.isString();
JSONString actStr = actual.isString();
- assertNonNull(actStr);
+ assertNotNull(actStr);
assertEquals(expStr.stringValue(), actStr.stringValue());
} else {
fail("Unknown JSONValue " + expected);
--
To view, visit https://gwt-review.googlesource.com/2730
To unsubscribe, visit https://gwt-review.googlesource.com/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: Id5943b8470f4b3b12912ff82710e8937ed8f7b2f
Gerrit-PatchSet: 1
Gerrit-Project: gwt
Gerrit-Branch: master
Gerrit-Owner: Matthew Dempsky <[email protected]>
Gerrit-Reviewer: Leeroy Jenkins <[email protected]>
Gerrit-Reviewer: Matthew Dempsky <[email protected]>
Gerrit-Reviewer: Thomas Broyer <[email protected]>
--
--
http://groups.google.com/group/Google-Web-Toolkit-Contributors
---
You received this message because you are subscribed to the Google Groups "Google Web Toolkit Contributors" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.