jackrabbit-oak-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mdue...@apache.org
Subject svn commit: r1331430 - /jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/kernel/KernelNodeStateBuilder.java
Date Fri, 27 Apr 2012 13:49:41 GMT
Author: mduerig
Date: Fri Apr 27 13:49:41 2012
New Revision: 1331430

URL: http://svn.apache.org/viewvc?rev=1331430&view=rev
Log:
minor simplification

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

Modified: jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/kernel/KernelNodeStateBuilder.java
URL: http://svn.apache.org/viewvc/jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/kernel/KernelNodeStateBuilder.java?rev=1331430&r1=1331429&r2=1331430&view=diff
==============================================================================
--- jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/kernel/KernelNodeStateBuilder.java
(original)
+++ jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/kernel/KernelNodeStateBuilder.java
Fri Apr 27 13:49:41 2012
@@ -42,8 +42,7 @@ public class KernelNodeStateBuilder impl
     public static NodeStateBuilder create(MicroKernel kernel, CoreValueFactory valueFactory,
             String path, String revision) {
 
-        String[] r = {revision};
-        return new KernelNodeStateBuilder(kernel, valueFactory, path, r);
+        return new KernelNodeStateBuilder(kernel, valueFactory, path, new String[] {revision});
     }
 
     @Override



Mime
View raw message