jackrabbit-oak-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ju...@apache.org
Subject svn commit: r1526762 - in /jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/segment: SegmentNodeStore.java SegmentReader.java
Date Fri, 27 Sep 2013 00:45:49 GMT
Author: jukka
Date: Fri Sep 27 00:45:49 2013
New Revision: 1526762

URL: http://svn.apache.org/r1526762
Log:
OAK-1031: SegmentMK: Fewer segment lookups

SegmentReader is no longer needed

Removed:
    jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/segment/SegmentReader.java
Modified:
    jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/segment/SegmentNodeStore.java

Modified: jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/segment/SegmentNodeStore.java
URL: http://svn.apache.org/viewvc/jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/segment/SegmentNodeStore.java?rev=1526762&r1=1526761&r2=1526762&view=diff
==============================================================================
--- jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/segment/SegmentNodeStore.java
(original)
+++ jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/segment/SegmentNodeStore.java
Fri Sep 27 00:45:49 2013
@@ -46,8 +46,6 @@ public class SegmentNodeStore implements
 
     private final Journal journal;
 
-    private final SegmentReader reader;
-
     private final Observer observer;
 
     private SegmentNodeState head;
@@ -57,7 +55,6 @@ public class SegmentNodeStore implements
     public SegmentNodeStore(SegmentStore store, String journal) {
         this.store = store;
         this.journal = store.getJournal(journal);
-        this.reader = new SegmentReader(store);
         this.observer = EmptyObserver.INSTANCE;
         this.head = new SegmentNodeState(store, this.journal.getHead());
     }



Mime
View raw message