jackrabbit-oak-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From thom...@apache.org
Subject svn commit: r1347648 - in /jackrabbit/oak/trunk/oak-core/src/test/java/org/apache/jackrabbit/mk/json/fast: JsopArray.java JsopObject.java JsopObjectTest.java
Date Thu, 07 Jun 2012 14:45:27 GMT
Author: thomasm
Date: Thu Jun  7 14:45:26 2012
New Revision: 1347648

URL: http://svn.apache.org/viewvc?rev=1347648&view=rev
Log:
OAK-19 JSON utilities (code cleanup)

Modified:
    jackrabbit/oak/trunk/oak-core/src/test/java/org/apache/jackrabbit/mk/json/fast/JsopArray.java
    jackrabbit/oak/trunk/oak-core/src/test/java/org/apache/jackrabbit/mk/json/fast/JsopObject.java
    jackrabbit/oak/trunk/oak-core/src/test/java/org/apache/jackrabbit/mk/json/fast/JsopObjectTest.java

Modified: jackrabbit/oak/trunk/oak-core/src/test/java/org/apache/jackrabbit/mk/json/fast/JsopArray.java
URL: http://svn.apache.org/viewvc/jackrabbit/oak/trunk/oak-core/src/test/java/org/apache/jackrabbit/mk/json/fast/JsopArray.java?rev=1347648&r1=1347647&r2=1347648&view=diff
==============================================================================
--- jackrabbit/oak/trunk/oak-core/src/test/java/org/apache/jackrabbit/mk/json/fast/JsopArray.java
(original)
+++ jackrabbit/oak/trunk/oak-core/src/test/java/org/apache/jackrabbit/mk/json/fast/JsopArray.java
Thu Jun  7 14:45:26 2012
@@ -100,6 +100,7 @@ public class JsopArray extends Jsop impl
         return list.size();
     }
 
+    @Override
     public String toString() {
         if (jsop == null) {
             JsopBuilder w = new JsopBuilder();

Modified: jackrabbit/oak/trunk/oak-core/src/test/java/org/apache/jackrabbit/mk/json/fast/JsopObject.java
URL: http://svn.apache.org/viewvc/jackrabbit/oak/trunk/oak-core/src/test/java/org/apache/jackrabbit/mk/json/fast/JsopObject.java?rev=1347648&r1=1347647&r2=1347648&view=diff
==============================================================================
--- jackrabbit/oak/trunk/oak-core/src/test/java/org/apache/jackrabbit/mk/json/fast/JsopObject.java
(original)
+++ jackrabbit/oak/trunk/oak-core/src/test/java/org/apache/jackrabbit/mk/json/fast/JsopObject.java
Thu Jun  7 14:45:26 2012
@@ -136,6 +136,7 @@ public class JsopObject extends Jsop imp
         jsop = null;
     }
 
+    @Override
     public String toString() {
         if (jsop == null) {
             JsopBuilder w = new JsopBuilder();

Modified: jackrabbit/oak/trunk/oak-core/src/test/java/org/apache/jackrabbit/mk/json/fast/JsopObjectTest.java
URL: http://svn.apache.org/viewvc/jackrabbit/oak/trunk/oak-core/src/test/java/org/apache/jackrabbit/mk/json/fast/JsopObjectTest.java?rev=1347648&r1=1347647&r2=1347648&view=diff
==============================================================================
--- jackrabbit/oak/trunk/oak-core/src/test/java/org/apache/jackrabbit/mk/json/fast/JsopObjectTest.java
(original)
+++ jackrabbit/oak/trunk/oak-core/src/test/java/org/apache/jackrabbit/mk/json/fast/JsopObjectTest.java
Thu Jun  7 14:45:26 2012
@@ -103,7 +103,7 @@ public class JsopObjectTest extends Test
             // expected
         }
         String s = "";
-        for(Object o : a) {
+        for (Object o : a) {
             s += o + ";";
         }
         assertEquals("1;null;Hello;[];{};", s);



Mime
View raw message