jackrabbit-oak-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ang...@apache.org
Subject svn commit: r1440603 - /jackrabbit/oak/trunk/oak-jcr/src/main/java/org/apache/jackrabbit/oak/jcr/WorkspaceImpl.java
Date Wed, 30 Jan 2013 19:37:54 GMT
Author: angela
Date: Wed Jan 30 19:37:54 2013
New Revision: 1440603

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

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

Modified: jackrabbit/oak/trunk/oak-jcr/src/main/java/org/apache/jackrabbit/oak/jcr/WorkspaceImpl.java
URL: http://svn.apache.org/viewvc/jackrabbit/oak/trunk/oak-jcr/src/main/java/org/apache/jackrabbit/oak/jcr/WorkspaceImpl.java?rev=1440603&r1=1440602&r2=1440603&view=diff
==============================================================================
--- jackrabbit/oak/trunk/oak-jcr/src/main/java/org/apache/jackrabbit/oak/jcr/WorkspaceImpl.java
(original)
+++ jackrabbit/oak/trunk/oak-jcr/src/main/java/org/apache/jackrabbit/oak/jcr/WorkspaceImpl.java
Wed Jan 30 19:37:54 2013
@@ -18,7 +18,6 @@ package org.apache.jackrabbit.oak.jcr;
 
 import java.io.IOException;
 import java.io.InputStream;
-
 import javax.annotation.Nonnull;
 import javax.jcr.NamespaceRegistry;
 import javax.jcr.RepositoryException;
@@ -44,8 +43,6 @@ import org.apache.jackrabbit.oak.namepat
 import org.apache.jackrabbit.oak.plugins.name.ReadWriteNamespaceRegistry;
 import org.apache.jackrabbit.oak.plugins.nodetype.write.ReadWriteNodeTypeManager;
 import org.apache.jackrabbit.util.Text;
-import org.slf4j.Logger;
-import org.slf4j.LoggerFactory;
 import org.xml.sax.ContentHandler;
 import org.xml.sax.InputSource;
 
@@ -56,11 +53,6 @@ import static org.apache.jackrabbit.oak.
  */
 public class WorkspaceImpl implements JackrabbitWorkspace {
 
-    /**
-     * logger instance
-     */
-    private static final Logger log = LoggerFactory.getLogger(WorkspaceImpl.class);
-
     private final SessionDelegate sessionDelegate;
     private final QueryManagerImpl queryManager;
     private final LockManager lockManager;
@@ -163,10 +155,12 @@ public class WorkspaceImpl implements Ja
             protected Tree getReadTree() {
                 return sessionDelegate.getRoot().getTree("/");
             }
+
             @Override
             protected Root getWriteRoot() {
                 return sessionDelegate.getContentSession().getLatestRoot();
             }
+
             @Override
             protected void refresh() throws RepositoryException {
                 getSession().refresh(true);
@@ -224,7 +218,7 @@ public class WorkspaceImpl implements Ja
         ensureIsAlive();
 
         // TODO -> SPI
-        return new String[] {getName()};
+        return new String[]{getName()};
     }
 
     @Override



Mime
View raw message