Author: reschke
Date: Tue Apr 12 12:26:33 2016
New Revision: 1738790

URL: http://svn.apache.org/viewvc?rev=1738790&view=rev
Log:
remove trailing whitespace

Modified:
    
jackrabbit/oak/branches/1.0/oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/document/DocumentMK.java

Modified: 
jackrabbit/oak/branches/1.0/oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/document/DocumentMK.java
URL: 
http://svn.apache.org/viewvc/jackrabbit/oak/branches/1.0/oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/document/DocumentMK.java?rev=1738790&r1=1738789&r2=1738790&view=diff
==============================================================================
--- 
jackrabbit/oak/branches/1.0/oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/document/DocumentMK.java
 (original)
+++ 
jackrabbit/oak/branches/1.0/oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/document/DocumentMK.java
 Tue Apr 12 12:26:33 2016
@@ -71,13 +71,13 @@ import static com.google.common.base.Pre
  * A MicroKernel implementation that stores the data in a {@link 
DocumentStore}.
  */
 public class DocumentMK implements MicroKernel {
-    
+
     static final Logger LOG = LoggerFactory.getLogger(DocumentMK.class);
-    
+
     /**
      * The path where the persistent cache is stored.
      */
-    static final String DEFAULT_PERSISTENT_CACHE_URI = 
+    static final String DEFAULT_PERSISTENT_CACHE_URI =
             System.getProperty("oak.documentMK.persCache");
 
     /**
@@ -710,12 +710,12 @@ public class DocumentMK implements Micro
             this.clusterId = clusterId;
             return this;
         }
-        
+
         public Builder setCacheSegmentCount(int cacheSegmentCount) {
             this.cacheSegmentCount = cacheSegmentCount;
             return this;
         }
-        
+
         public Builder setCacheStackMoveDistance(int cacheSegmentCount) {
             this.cacheStackMoveDistance = cacheSegmentCount;
             return this;
@@ -754,7 +754,7 @@ public class DocumentMK implements Micro
             this.memoryCacheSize = memoryCacheSize;
             return this;
         }
-        
+
         public Builder memoryCacheDistribution(int nodeCachePercentage,
                                                int childrenCachePercentage,
                                                int docChildrenCachePercentage,
@@ -763,7 +763,7 @@ public class DocumentMK implements Micro
             checkArgument(childrenCachePercentage>= 0);
             checkArgument(docChildrenCachePercentage >= 0);
             checkArgument(diffCachePercentage >= 0);
-            checkArgument(nodeCachePercentage + childrenCachePercentage + 
+            checkArgument(nodeCachePercentage + childrenCachePercentage +
                     docChildrenCachePercentage + diffCachePercentage < 100);
             this.nodeCachePercentage = nodeCachePercentage;
             this.childrenCachePercentage = childrenCachePercentage;
@@ -781,7 +781,7 @@ public class DocumentMK implements Micro
         }
 
         public long getDocumentCacheSize() {
-            return memoryCacheSize - getNodeCacheSize() - 
getChildrenCacheSize() 
+            return memoryCacheSize - getNodeCacheSize() - 
getChildrenCacheSize()
                     - getDiffCacheSize() - getDocChildrenCacheSize();
         }
 
@@ -868,19 +868,19 @@ public class DocumentMK implements Micro
         public DocumentMK open() {
             return new DocumentMK(this);
         }
-        
+
         public Cache<PathRev, DocumentNodeState> 
buildNodeCache(DocumentNodeStore store) {
             return buildCache(CacheType.NODE, getNodeCacheSize(), store, null);
         }
-        
+
         public Cache<PathRev, DocumentNodeState.Children> buildChildrenCache() 
{
-            return buildCache(CacheType.CHILDREN, getChildrenCacheSize(), 
null, null);            
+            return buildCache(CacheType.CHILDREN, getChildrenCacheSize(), 
null, null);
         }
-        
+
         public Cache<StringValue, NodeDocument.Children> 
buildDocChildrenCache() {
             return buildCache(CacheType.DOC_CHILDREN, 
getDocChildrenCacheSize(), null, null);
         }
-        
+
         public Cache<PathRev, StringValue> buildMemoryDiffCache() {
             return buildCache(CacheType.DIFF, getMemoryDiffCacheSize(), null, 
null);
         }
@@ -915,7 +915,7 @@ public class DocumentMK implements Micro
             }
             return cache;
         }
-        
+
         private PersistentCache getPersistentCache() {
             if (persistentCacheURI == null) {
                 return null;
@@ -930,7 +930,7 @@ public class DocumentMK implements Micro
             }
             return persistentCache;
         }
-        
+
         private <K extends CacheValue, V extends CacheValue> Cache<K, V> 
buildCache(
                 long maxWeight) {
             if (LIRS_CACHE || persistentCacheURI != null) {
@@ -952,5 +952,5 @@ public class DocumentMK implements Micro
         }
 
     }
-    
+
 }


Reply via email to