jackrabbit-oak-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ang...@apache.org
Subject svn commit: r1372780 - /jackrabbit/oak/trunk/oak-jcr/src/main/java/org/apache/jackrabbit/oak/jcr/value/ValueFactoryImpl.java
Date Tue, 14 Aug 2012 08:45:05 GMT
Author: angela
Date: Tue Aug 14 08:45:05 2012
New Revision: 1372780

URL: http://svn.apache.org/viewvc?rev=1372780&view=rev
Log:
fix indention

Modified:
    jackrabbit/oak/trunk/oak-jcr/src/main/java/org/apache/jackrabbit/oak/jcr/value/ValueFactoryImpl.java

Modified: jackrabbit/oak/trunk/oak-jcr/src/main/java/org/apache/jackrabbit/oak/jcr/value/ValueFactoryImpl.java
URL: http://svn.apache.org/viewvc/jackrabbit/oak/trunk/oak-jcr/src/main/java/org/apache/jackrabbit/oak/jcr/value/ValueFactoryImpl.java?rev=1372780&r1=1372779&r2=1372780&view=diff
==============================================================================
--- jackrabbit/oak/trunk/oak-jcr/src/main/java/org/apache/jackrabbit/oak/jcr/value/ValueFactoryImpl.java
(original)
+++ jackrabbit/oak/trunk/oak-jcr/src/main/java/org/apache/jackrabbit/oak/jcr/value/ValueFactoryImpl.java
Tue Aug 14 08:45:05 2012
@@ -16,13 +16,13 @@
  */
 package org.apache.jackrabbit.oak.jcr.value;
 
-import org.apache.jackrabbit.oak.api.CoreValue;
-import org.apache.jackrabbit.oak.api.CoreValueFactory;
-import org.apache.jackrabbit.oak.namepath.NamePathMapper;
-import org.apache.jackrabbit.util.ISO8601;
-import org.slf4j.Logger;
-import org.slf4j.LoggerFactory;
-
+import java.io.ByteArrayInputStream;
+import java.io.IOException;
+import java.io.InputStream;
+import java.io.UnsupportedEncodingException;
+import java.math.BigDecimal;
+import java.util.Calendar;
+import java.util.UUID;
 import javax.jcr.Binary;
 import javax.jcr.Node;
 import javax.jcr.PropertyType;
@@ -31,13 +31,12 @@ import javax.jcr.Value;
 import javax.jcr.ValueFactory;
 import javax.jcr.ValueFormatException;
 
-import java.io.ByteArrayInputStream;
-import java.io.IOException;
-import java.io.InputStream;
-import java.io.UnsupportedEncodingException;
-import java.math.BigDecimal;
-import java.util.Calendar;
-import java.util.UUID;
+import org.apache.jackrabbit.oak.api.CoreValue;
+import org.apache.jackrabbit.oak.api.CoreValueFactory;
+import org.apache.jackrabbit.oak.namepath.NamePathMapper;
+import org.apache.jackrabbit.util.ISO8601;
+import org.slf4j.Logger;
+import org.slf4j.LoggerFactory;
 
 /**
  * Implementation of {@link ValueFactory} interface based on the
@@ -82,13 +81,13 @@ public class ValueFactoryImpl implements
         } else {
             // TODO add proper implementation
             try {
-            switch (jcrValue.getType()) {
-                case PropertyType.BINARY:
-                    v = (ValueImpl) createValue(jcrValue.getStream());
-                    break;
-                default:
-                    v = (ValueImpl) createValue(jcrValue.getString(), jcrValue.getType());
-            }
+                switch (jcrValue.getType()) {
+                    case PropertyType.BINARY:
+                        v = (ValueImpl) createValue(jcrValue.getStream());
+                        break;
+                    default:
+                        v = (ValueImpl) createValue(jcrValue.getString(), jcrValue.getType());
+                }
             } catch (RepositoryException e) {
                 throw new UnsupportedOperationException("Not implemented yet...");
             }



Mime
View raw message