jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mdue...@apache.org
Subject svn commit: r1159322 - /jackrabbit/trunk/jackrabbit-jcr2spi/src/main/java/org/apache/jackrabbit/jcr2spi/Jcr2spiRepositoryFactory.java
Date Thu, 18 Aug 2011 17:38:31 GMT
Author: mduerig
Date: Thu Aug 18 17:38:31 2011
New Revision: 1159322

URL: http://svn.apache.org/viewvc?rev=1159322&view=rev
Log:
typo

Modified:
    jackrabbit/trunk/jackrabbit-jcr2spi/src/main/java/org/apache/jackrabbit/jcr2spi/Jcr2spiRepositoryFactory.java

Modified: jackrabbit/trunk/jackrabbit-jcr2spi/src/main/java/org/apache/jackrabbit/jcr2spi/Jcr2spiRepositoryFactory.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-jcr2spi/src/main/java/org/apache/jackrabbit/jcr2spi/Jcr2spiRepositoryFactory.java?rev=1159322&r1=1159321&r2=1159322&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-jcr2spi/src/main/java/org/apache/jackrabbit/jcr2spi/Jcr2spiRepositoryFactory.java
(original)
+++ jackrabbit/trunk/jackrabbit-jcr2spi/src/main/java/org/apache/jackrabbit/jcr2spi/Jcr2spiRepositoryFactory.java
Thu Aug 18 17:38:31 2011
@@ -235,7 +235,7 @@ public class Jcr2spiRepositoryFactory im
             super();
             this.serviceFactory = serviceFactory;
             this.cacheBehaviour = getCacheBehaviour(parameters);
-            this.itemCacheSize = getItemChacheSize(parameters);
+            this.itemCacheSize = getItemCacheSize(parameters);
             this.pollTimeOut = getPollTimeout(parameters);
             this.parameters = parameters;
         }
@@ -295,21 +295,21 @@ public class Jcr2spiRepositoryFactory im
             }
         }
 
-        private static int getItemChacheSize(Map<?, ?> parameters) throws RepositoryException
{
+        private static int getItemCacheSize(Map<?, ?> parameters) throws RepositoryException
{
             Object paramItemCacheSize = parameters.get(PARAM_ITEM_CACHE_SIZE);
-            log.debug("Setting ItemChacheSize from {}", PARAM_ITEM_CACHE_SIZE);
+            log.debug("Setting ItemCacheSize from {}", PARAM_ITEM_CACHE_SIZE);
 
             if (paramItemCacheSize == null) {
                 log.debug("{} not set, defaulting to {}", PARAM_ITEM_CACHE_SIZE, DEFAULT_ITEM_CACHE_SIZE);
                 return DEFAULT_ITEM_CACHE_SIZE;
             }
             else if (paramItemCacheSize instanceof Integer) {
-                log.debug("Setting ItemChacheSize to {}", paramItemCacheSize);
+                log.debug("Setting ItemCacheSize to {}", paramItemCacheSize);
                 return (Integer) paramItemCacheSize;
             }
             else if (paramItemCacheSize instanceof String) {
                 try {
-                    log.debug("Setting ItemChacheSize to {}", paramItemCacheSize);
+                    log.debug("Setting ItemCacheSize to {}", paramItemCacheSize);
                     return Integer.parseInt((String) paramItemCacheSize);
                 }
                 catch (NumberFormatException e) {



Mime
View raw message