jackrabbit-oak-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mdue...@apache.org
Subject svn commit: r1304311 - /jackrabbit/oak/trunk/oak-jcr/src/main/java/org/apache/jackrabbit/oak/jcr/util/ValueConverter.java
Date Fri, 23 Mar 2012 12:23:06 GMT
Author: mduerig
Date: Fri Mar 23 12:23:06 2012
New Revision: 1304311

URL: http://svn.apache.org/viewvc?rev=1304311&view=rev
Log:
OAK-15: Clean up oak-jcr
Use Scalar instead of JsonValue (WIP): remove orphaned method

Modified:
    jackrabbit/oak/trunk/oak-jcr/src/main/java/org/apache/jackrabbit/oak/jcr/util/ValueConverter.java

Modified: jackrabbit/oak/trunk/oak-jcr/src/main/java/org/apache/jackrabbit/oak/jcr/util/ValueConverter.java
URL: http://svn.apache.org/viewvc/jackrabbit/oak/trunk/oak-jcr/src/main/java/org/apache/jackrabbit/oak/jcr/util/ValueConverter.java?rev=1304311&r1=1304310&r2=1304311&view=diff
==============================================================================
--- jackrabbit/oak/trunk/oak-jcr/src/main/java/org/apache/jackrabbit/oak/jcr/util/ValueConverter.java
(original)
+++ jackrabbit/oak/trunk/oak-jcr/src/main/java/org/apache/jackrabbit/oak/jcr/util/ValueConverter.java
Fri Mar 23 12:23:06 2012
@@ -165,14 +165,4 @@ public final class ValueConverter {
         }
     }
 
-    public static Value[] toValue(ValueFactory valueFactory, JsonArray jsonArray) {
-        List<JsonValue> jsonValues = jsonArray.value();
-        Value[] values = new Value[jsonValues.size()];
-        int k = 0;
-        for (JsonValue jsonValue : jsonValues) {
-            values[k++] = toValue(valueFactory, jsonValue.asAtom());
-        }
-        return values;
-    }
-
 }



Mime
View raw message