jackrabbit-oak-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mdue...@apache.org
Subject svn commit: r1583713 - /jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/spi/commit/BackgroundObserver.java
Date Tue, 01 Apr 2014 15:22:25 GMT
Author: mduerig
Date: Tue Apr  1 15:22:25 2014
New Revision: 1583713

URL: http://svn.apache.org/r1583713
Log:
@trivial: remove unused field

Modified:
    jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/spi/commit/BackgroundObserver.java

Modified: jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/spi/commit/BackgroundObserver.java
URL: http://svn.apache.org/viewvc/jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/spi/commit/BackgroundObserver.java?rev=1583713&r1=1583712&r2=1583713&view=diff
==============================================================================
--- jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/spi/commit/BackgroundObserver.java
(original)
+++ jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/spi/commit/BackgroundObserver.java
Tue Apr  1 15:22:25 2014
@@ -77,11 +77,6 @@ public class BackgroundObserver implemen
      */
     private final BlockingQueue<ContentChange> queue;
 
-    /**
-     * Maximal number of elements before queue will start to block
-     */
-    private final int queueLength;
-
     private static class ContentChange {
         private final NodeState root;
         private final CommitInfo info;
@@ -150,7 +145,6 @@ public class BackgroundObserver implemen
         this.executor = checkNotNull(executor);
         this.exceptionHandler = checkNotNull(exceptionHandler);
         this.queue = newArrayBlockingQueue(queueLength);
-        this.queueLength = queueLength;
     }
 
     public BackgroundObserver(



Mime
View raw message