jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mdue...@apache.org
Subject svn commit: r1136052 - /jackrabbit/sandbox/spi2microkernel/src/main/java/org/apache/jackrabbit/spi2microkernel/RepositoryServiceImpl.java
Date Wed, 15 Jun 2011 14:02:16 GMT
Author: mduerig
Date: Wed Jun 15 14:02:15 2011
New Revision: 1136052

URL: http://svn.apache.org/viewvc?rev=1136052&view=rev
Log:
spi2microkernel prototype (WIP)
minor clean up

Modified:
    jackrabbit/sandbox/spi2microkernel/src/main/java/org/apache/jackrabbit/spi2microkernel/RepositoryServiceImpl.java

Modified: jackrabbit/sandbox/spi2microkernel/src/main/java/org/apache/jackrabbit/spi2microkernel/RepositoryServiceImpl.java
URL: http://svn.apache.org/viewvc/jackrabbit/sandbox/spi2microkernel/src/main/java/org/apache/jackrabbit/spi2microkernel/RepositoryServiceImpl.java?rev=1136052&r1=1136051&r2=1136052&view=diff
==============================================================================
--- jackrabbit/sandbox/spi2microkernel/src/main/java/org/apache/jackrabbit/spi2microkernel/RepositoryServiceImpl.java
(original)
+++ jackrabbit/sandbox/spi2microkernel/src/main/java/org/apache/jackrabbit/spi2microkernel/RepositoryServiceImpl.java
Wed Jun 15 14:02:15 2011
@@ -142,6 +142,7 @@ public class RepositoryServiceImpl exten
                     return true;
                 }
 
+                @Override
                 public boolean startObject() throws ParseException, IOException {
                     if (key != null) {
                         workspaces.add(key);
@@ -365,7 +366,7 @@ public class RepositoryServiceImpl exten
                 throw new NoSuchWorkspaceException("No such workspace: " + name);
             }
 
-            microKernel.commit("/", "-\"" + wspName + "\"", revisionId);
+            microKernel.commit("/", "-\"" + wspName + '\"', revisionId);
         }
         catch (MicroKernelException e) {
             throw new RepositoryException(e.getMessage(), e);
@@ -418,7 +419,7 @@ public class RepositoryServiceImpl exten
                 }
 
                 String path = target(nodeId);
-                jsop.append('-').append(path).append("\n");
+                jsop.append('-').append(path).append('\n');
             }
             else {
                 PropertyId propertyId = (PropertyId) itemId;



Mime
View raw message