jackrabbit-oak-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ang...@apache.org
Subject svn commit: r1401593 - /jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/value/ValueFactoryImpl.java
Date Wed, 24 Oct 2012 09:11:59 GMT
Author: angela
Date: Wed Oct 24 09:11:59 2012
New Revision: 1401593

URL: http://svn.apache.org/viewvc?rev=1401593&view=rev
Log:
javadoc, indention, unused logger instance

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

Modified: jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/value/ValueFactoryImpl.java
URL: http://svn.apache.org/viewvc/jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/value/ValueFactoryImpl.java?rev=1401593&r1=1401592&r2=1401593&view=diff
==============================================================================
--- jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/value/ValueFactoryImpl.java
(original)
+++ jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/value/ValueFactoryImpl.java
Wed Oct 24 09:11:59 2012
@@ -47,14 +47,11 @@ import org.apache.jackrabbit.oak.plugins
 import org.apache.jackrabbit.oak.plugins.memory.StringPropertyState;
 import org.apache.jackrabbit.oak.spi.query.PropertyValues;
 import org.apache.jackrabbit.util.ISO8601;
-import org.slf4j.Logger;
-import org.slf4j.LoggerFactory;
 
 /**
  * Implementation of {@link ValueFactory} interface.
  */
 public class ValueFactoryImpl implements ValueFactory {
-    private static final Logger log = LoggerFactory.getLogger(ValueFactoryImpl.class);
 
     private final BlobFactory blobFactory;
     private final NamePathMapper namePathMapper;
@@ -62,6 +59,7 @@ public class ValueFactoryImpl implements
     /**
      * Creates a new instance of {@code ValueFactory}.
      *
+     * @param blobFactory The factory for creation of binary values
      * @param namePathMapper The name/path mapping used for converting JCR names/paths to
      * the internal representation.
      */
@@ -257,8 +255,7 @@ public class ValueFactoryImpl implements
     public Binary createBinary(InputStream stream) throws RepositoryException {
         try {
             return new BinaryImpl(createBinaryValue(stream));
-        }
-        catch (IOException e) {
+        } catch (IOException e) {
             throw new RepositoryException(e);
         }
     }



Mime
View raw message