Repository: tapestry-5
Updated Branches:
  refs/heads/master 8d1bf477d -> 5d5b1e787


Some adjustments for TAP5-2330

Project: http://git-wip-us.apache.org/repos/asf/tapestry-5/repo
Commit: http://git-wip-us.apache.org/repos/asf/tapestry-5/commit/5d5b1e78
Tree: http://git-wip-us.apache.org/repos/asf/tapestry-5/tree/5d5b1e78
Diff: http://git-wip-us.apache.org/repos/asf/tapestry-5/diff/5d5b1e78

Branch: refs/heads/master
Commit: 5d5b1e787cecb7cedbaa00a88834b7eadfe7e8ae
Parents: 8d1bf47
Author: Thiago H. de Paula Figueiredo <[email protected]>
Authored: Mon Jun 23 00:14:20 2014 -0300
Committer: Thiago H. de Paula Figueiredo <[email protected]>
Committed: Mon Jun 23 00:14:20 2014 -0300

----------------------------------------------------------------------
 .../src/main/java/org/apache/tapestry5/json/JSONArray.java        | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/tapestry-5/blob/5d5b1e78/tapestry-json/src/main/java/org/apache/tapestry5/json/JSONArray.java
----------------------------------------------------------------------
diff --git 
a/tapestry-json/src/main/java/org/apache/tapestry5/json/JSONArray.java 
b/tapestry-json/src/main/java/org/apache/tapestry5/json/JSONArray.java
index b679bc7..76ea531 100644
--- a/tapestry-json/src/main/java/org/apache/tapestry5/json/JSONArray.java
+++ b/tapestry-json/src/main/java/org/apache/tapestry5/json/JSONArray.java
@@ -386,7 +386,8 @@ public final class JSONArray extends JSONCollection 
implements Iterable<Object>
      */
     public JSONArray put(Object value)
     {
-        assert value != null;
+       // now testValidity checks for null values.
+        // assert value != null;
 
         JSONObject.testValidity(value);
 

Reply via email to