jackrabbit-oak-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ang...@apache.org
Subject svn commit: r1437999 - /jackrabbit/oak/trunk/oak-it/mk/src/main/java/org/apache/jackrabbit/mk/test/MicroKernelIT.java
Date Thu, 24 Jan 2013 13:54:12 GMT
Author: angela
Date: Thu Jan 24 13:54:12 2013
New Revision: 1437999

URL: http://svn.apache.org/viewvc?rev=1437999&view=rev
Log:
replace StringBuffer by StringBuilder

Modified:
    jackrabbit/oak/trunk/oak-it/mk/src/main/java/org/apache/jackrabbit/mk/test/MicroKernelIT.java

Modified: jackrabbit/oak/trunk/oak-it/mk/src/main/java/org/apache/jackrabbit/mk/test/MicroKernelIT.java
URL: http://svn.apache.org/viewvc/jackrabbit/oak/trunk/oak-it/mk/src/main/java/org/apache/jackrabbit/mk/test/MicroKernelIT.java?rev=1437999&r1=1437998&r2=1437999&view=diff
==============================================================================
--- jackrabbit/oak/trunk/oak-it/mk/src/main/java/org/apache/jackrabbit/mk/test/MicroKernelIT.java
(original)
+++ jackrabbit/oak/trunk/oak-it/mk/src/main/java/org/apache/jackrabbit/mk/test/MicroKernelIT.java
Thu Jan 24 13:54:12 2013
@@ -16,15 +16,6 @@
  */
 package org.apache.jackrabbit.mk.test;
 
-import org.apache.jackrabbit.mk.api.MicroKernelException;
-import org.apache.jackrabbit.mk.test.util.TestInputStream;
-import org.apache.jackrabbit.mk.util.MicroKernelInputStream;
-import org.json.simple.JSONArray;
-import org.json.simple.JSONObject;
-import org.junit.Test;
-import org.junit.runner.RunWith;
-import org.junit.runners.Parameterized;
-
 import java.io.BufferedInputStream;
 import java.io.IOException;
 import java.io.InputStream;
@@ -34,6 +25,15 @@ import java.util.List;
 import java.util.Random;
 import java.util.Set;
 
+import org.apache.jackrabbit.mk.api.MicroKernelException;
+import org.apache.jackrabbit.mk.test.util.TestInputStream;
+import org.apache.jackrabbit.mk.util.MicroKernelInputStream;
+import org.json.simple.JSONArray;
+import org.json.simple.JSONObject;
+import org.junit.Test;
+import org.junit.runner.RunWith;
+import org.junit.runners.Parameterized;
+
 import static org.junit.Assert.assertEquals;
 import static org.junit.Assert.assertFalse;
 import static org.junit.Assert.assertNotNull;
@@ -652,7 +652,7 @@ public class MicroKernelIT extends Abstr
 
         // populate siblings
         Random rand = new Random();
-        StringBuffer sb = new StringBuffer("+\"/testRoot\":{");
+        StringBuilder sb = new StringBuilder("+\"/testRoot\":{");
         for (int i = 0; i < NUM_SIBLINGS; i++) {
             String name = "n" + rand.nextLong();
             siblingNames.add(name);



Mime
View raw message