jackrabbit-oak-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ang...@apache.org
Subject svn commit: r1440606 - /jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/Oak.java
Date Wed, 30 Jan 2013 19:38:53 GMT
Author: angela
Date: Wed Jan 30 19:38:53 2013
New Revision: 1440606

URL: http://svn.apache.org/viewvc?rev=1440606&view=rev
Log:
minor improvement: remove unused logger field

Modified:
    jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/Oak.java

Modified: jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/Oak.java
URL: http://svn.apache.org/viewvc/jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/Oak.java?rev=1440606&r1=1440605&r2=1440606&view=diff
==============================================================================
--- jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/Oak.java (original)
+++ jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/Oak.java Wed Jan
30 19:38:53 2013
@@ -47,8 +47,6 @@ import org.apache.jackrabbit.oak.spi.sec
 import org.apache.jackrabbit.oak.spi.security.SecurityConfiguration;
 import org.apache.jackrabbit.oak.spi.security.SecurityProvider;
 import org.apache.jackrabbit.oak.spi.state.NodeState;
-import org.slf4j.Logger;
-import org.slf4j.LoggerFactory;
 
 import static com.google.common.base.Preconditions.checkNotNull;
 import static com.google.common.collect.Lists.newArrayList;
@@ -63,8 +61,6 @@ import static com.google.common.collect.
  */
 public class Oak {
 
-    private static final Logger log = LoggerFactory.getLogger(Oak.class);
-
     private final MicroKernel kernel;
 
     private final List<RepositoryInitializer> initializers = newArrayList();
@@ -202,7 +198,8 @@ public class Oak {
     @Nonnull
     public Oak with(@Nonnull final Validator validator) {
         return with(new ValidatorProvider() {
-            @Override @Nonnull
+            @Override
+            @Nonnull
             public Validator getRootValidator(
                     NodeState before, NodeState after) {
                 return validator;
@@ -259,11 +256,11 @@ public class Oak {
      * Creates a content repository with the given configuration
      * and logs in to the default workspace with no credentials,
      * returning the resulting content session.
-     * <p>
+     * <p/>
      * This method exists mostly as a convenience for one-off tests,
      * as there's no way to create other sessions for accessing the
      * same repository.
-     * <p>
+     * <p/>
      * There is typically no need to explicitly close the returned
      * session unless the repository has explicitly been configured
      * to reserve some resources until all sessions have been closed.
@@ -286,11 +283,11 @@ public class Oak {
      * Creates a content repository with the given configuration
      * and returns a {@link Root} instance after logging in to the
      * default workspace with no credentials.
-     * <p>
+     * <p/>
      * This method exists mostly as a convenience for one-off tests, as
      * the returned root is the only way to access the session or the
      * repository.
-     * <p>
+     * <p/>
      * Note that since there is no way to close the underlying content
      * session, this method should only be used when no components that
      * require sessions to be closed have been configured. The repository



Mime
View raw message