jackrabbit-oak-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mdue...@apache.org
Subject svn commit: r1336730 - /jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/core/ContentRepositoryImpl.java
Date Thu, 10 May 2012 14:57:42 GMT
Author: mduerig
Date: Thu May 10 14:57:42 2012
New Revision: 1336730

URL: http://svn.apache.org/viewvc?rev=1336730&view=rev
Log:
demote field to local var

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

Modified: jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/core/ContentRepositoryImpl.java
URL: http://svn.apache.org/viewvc/jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/core/ContentRepositoryImpl.java?rev=1336730&r1=1336729&r2=1336730&view=diff
==============================================================================
--- jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/core/ContentRepositoryImpl.java
(original)
+++ jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/core/ContentRepositoryImpl.java
Thu May 10 14:57:42 2012
@@ -55,7 +55,6 @@ public class ContentRepositoryImpl imple
 
     private static final String APP_NAME = "jackrabbit.oak";
 
-    private final MicroKernel microKernel;
     private final QueryEngine queryEngine;
     private final NodeStore nodeStore;
 
@@ -75,11 +74,10 @@ public class ContentRepositoryImpl imple
      * Creates an Oak repository instance based on the given, already
      * initialized components.
      *
-     * @param mk underlying kernel instance
+     * @param microKernel underlying kernel instance
      * @param indexProvider index provider
      */
-    public ContentRepositoryImpl(MicroKernel mk, QueryIndexProvider indexProvider) {
-        microKernel = mk;
+    public ContentRepositoryImpl(MicroKernel microKernel, QueryIndexProvider indexProvider)
{
         nodeStore = new KernelNodeStore(microKernel, new EmptyCommitHook());
         QueryIndexProvider qip = (indexProvider == null) ? getDefaultIndexProvider(microKernel)
: indexProvider;
         queryEngine = new QueryEngineImpl(nodeStore, microKernel, qip);



Mime
View raw message