[exo-jcr-commits] exo-jcr SVN: r4335 - in kernel/trunk: exo.kernel.component.ext.cache.impl.infinispan.v4/src/main/java/org/exoplatform/services/cache/impl/infinispan/generic and 5 other directories.

do-not-reply at jboss.org do-not-reply at jboss.org
Fri Apr 29 08:44:02 EDT 2011


Author: areshetnyak
Date: 2011-04-29 08:44:02 -0400 (Fri, 29 Apr 2011)
New Revision: 4335

Modified:
   kernel/trunk/exo.kernel.commons/src/main/java/org/exoplatform/commons/utils/QName.java
   kernel/trunk/exo.kernel.component.ext.cache.impl.infinispan.v4/src/main/java/org/exoplatform/services/cache/impl/infinispan/generic/GenericExoCacheCreator.java
   kernel/trunk/exo.kernel.component.ext.cache.impl.jboss.v3/src/main/java/org/exoplatform/services/cache/impl/jboss/ea/EAExoCacheCreator.java
   kernel/trunk/exo.kernel.component.ext.cache.impl.jboss.v3/src/main/java/org/exoplatform/services/cache/impl/jboss/fifo/FIFOExoCacheCreator.java
   kernel/trunk/exo.kernel.component.ext.cache.impl.jboss.v3/src/main/java/org/exoplatform/services/cache/impl/jboss/lfu/LFUExoCacheCreator.java
   kernel/trunk/exo.kernel.component.ext.cache.impl.jboss.v3/src/main/java/org/exoplatform/services/cache/impl/jboss/lru/LRUExoCacheCreator.java
   kernel/trunk/exo.kernel.component.ext.cache.impl.jboss.v3/src/main/java/org/exoplatform/services/cache/impl/jboss/mru/MRUExoCacheCreator.java
Log:
EXOJCR-1221 :  The same violations was fixed in KERNEL.

Modified: kernel/trunk/exo.kernel.commons/src/main/java/org/exoplatform/commons/utils/QName.java
===================================================================
--- kernel/trunk/exo.kernel.commons/src/main/java/org/exoplatform/commons/utils/QName.java	2011-04-29 12:18:25 UTC (rev 4334)
+++ kernel/trunk/exo.kernel.commons/src/main/java/org/exoplatform/commons/utils/QName.java	2011-04-29 12:44:02 UTC (rev 4335)
@@ -49,7 +49,6 @@
       String stringName = ("[" + namespace + "]" + name);
       int hashCode = (31 + namespace.hashCode()) * 31 + name.hashCode();
 
-      //   	
       this.namespace = namespace;
       this.name = name;
       this.stringName = stringName;

Modified: kernel/trunk/exo.kernel.component.ext.cache.impl.infinispan.v4/src/main/java/org/exoplatform/services/cache/impl/infinispan/generic/GenericExoCacheCreator.java
===================================================================
--- kernel/trunk/exo.kernel.component.ext.cache.impl.infinispan.v4/src/main/java/org/exoplatform/services/cache/impl/infinispan/generic/GenericExoCacheCreator.java	2011-04-29 12:18:25 UTC (rev 4334)
+++ kernel/trunk/exo.kernel.component.ext.cache.impl.infinispan.v4/src/main/java/org/exoplatform/services/cache/impl/infinispan/generic/GenericExoCacheCreator.java	2011-04-29 12:44:02 UTC (rev 4335)
@@ -167,7 +167,7 @@
 
       @ManagedName("Lifespan")
       @ManagedDescription("Maximum lifespan of a cache entry, after which the entry is expired cluster-wide." +
-      		" -1 means the entries never expire.")
+            " -1 means the entries never expire.")
       public long getLiveTime()
       {
          return cacheConfig.getExpirationLifespan();
@@ -176,7 +176,7 @@
       @Managed
       @ManagedName("MaxIdle")
       @ManagedDescription("Maximum idle time a cache entry will be maintained in the cache. " +
-      		"If the idle time is exceeded, the entry will be expired cluster-wide. -1 means the entries never expire.")
+            "If the idle time is exceeded, the entry will be expired cluster-wide. -1 means the entries never expire.")
       public long getMaxIdle()
       {
          return cacheConfig.getExpirationMaxIdle();
@@ -185,7 +185,7 @@
       @Managed
       @ManagedName("WakeUpInterval")
       @ManagedDescription("Interval between subsequent eviction runs. If you wish to disable the periodic eviction " +
-      		"process altogether, set wakeupInterval to -1.")
+            "process altogether, set wakeupInterval to -1.")
       public long getWakeUpInterval()
       {
          return cacheConfig.getEvictionWakeUpInterval();

Modified: kernel/trunk/exo.kernel.component.ext.cache.impl.jboss.v3/src/main/java/org/exoplatform/services/cache/impl/jboss/ea/EAExoCacheCreator.java
===================================================================
--- kernel/trunk/exo.kernel.component.ext.cache.impl.jboss.v3/src/main/java/org/exoplatform/services/cache/impl/jboss/ea/EAExoCacheCreator.java	2011-04-29 12:18:25 UTC (rev 4334)
+++ kernel/trunk/exo.kernel.component.ext.cache.impl.jboss.v3/src/main/java/org/exoplatform/services/cache/impl/jboss/ea/EAExoCacheCreator.java	2011-04-29 12:44:02 UTC (rev 4335)
@@ -144,7 +144,7 @@
 
       @ManagedName("MaxNodes")
       @ManagedDescription("This is the maximum number of nodes allowed in this region. 0 denotes immediate expiry, " +
-      		"-1 denotes no limit.")
+            "-1 denotes no limit.")
       public int getMaxSize()
       {
          return ea.getMaxNodes();
@@ -152,8 +152,8 @@
 
       @ManagedName("MinTimeToLive")
       @ManagedDescription("the minimum amount of time a node must be allowed to live after being accessed before " +
-      		"it is allowed to be considered for eviction. 0 denotes that this feature is disabled, " +
-      		"which is the default value.")
+            "it is allowed to be considered for eviction. 0 denotes that this feature is disabled, " +
+            "which is the default value.")
       public long getLiveTime()
       {
          return ea.getMinTimeToLive();

Modified: kernel/trunk/exo.kernel.component.ext.cache.impl.jboss.v3/src/main/java/org/exoplatform/services/cache/impl/jboss/fifo/FIFOExoCacheCreator.java
===================================================================
--- kernel/trunk/exo.kernel.component.ext.cache.impl.jboss.v3/src/main/java/org/exoplatform/services/cache/impl/jboss/fifo/FIFOExoCacheCreator.java	2011-04-29 12:18:25 UTC (rev 4334)
+++ kernel/trunk/exo.kernel.component.ext.cache.impl.jboss.v3/src/main/java/org/exoplatform/services/cache/impl/jboss/fifo/FIFOExoCacheCreator.java	2011-04-29 12:44:02 UTC (rev 4335)
@@ -105,7 +105,7 @@
 
          @ManagedName("MaxNodes")
          @ManagedDescription("This is the maximum number of nodes allowed in this region. " +
-         		"0 denotes immediate expiry, -1 denotes no limit.")
+               "0 denotes immediate expiry, -1 denotes no limit.")
          public int getMaxSize()
          {
             return fifo.getMaxNodes();
@@ -113,8 +113,8 @@
 
          @ManagedName("MinTimeToLive")
          @ManagedDescription("the minimum amount of time a node must be allowed to live after " +
-         		"being accessed before it is allowed to be considered for eviction. 0 denotes that " +
-         		"this feature is disabled, which is the default value.")
+               "being accessed before it is allowed to be considered for eviction. 0 denotes that " +
+               "this feature is disabled, which is the default value.")
          public long getLiveTime()
          {
             return fifo.getMinTimeToLive();

Modified: kernel/trunk/exo.kernel.component.ext.cache.impl.jboss.v3/src/main/java/org/exoplatform/services/cache/impl/jboss/lfu/LFUExoCacheCreator.java
===================================================================
--- kernel/trunk/exo.kernel.component.ext.cache.impl.jboss.v3/src/main/java/org/exoplatform/services/cache/impl/jboss/lfu/LFUExoCacheCreator.java	2011-04-29 12:18:25 UTC (rev 4334)
+++ kernel/trunk/exo.kernel.component.ext.cache.impl.jboss.v3/src/main/java/org/exoplatform/services/cache/impl/jboss/lfu/LFUExoCacheCreator.java	2011-04-29 12:44:02 UTC (rev 4335)
@@ -115,8 +115,8 @@
 
       @ManagedName("MinTimeToLive")
       @ManagedDescription("the minimum amount of time a node must be allowed to live after being accessed " +
-      		"before it is allowed to be considered for eviction. 0 denotes that this feature is disabled, " +
-      		"which is the default value.")
+            "before it is allowed to be considered for eviction. 0 denotes that this feature is disabled, " +
+            "which is the default value.")
       public long getLiveTime()
       {
          return lfu.getMinTimeToLive();
@@ -124,7 +124,7 @@
 
       @ManagedName("MaxNodes")
       @ManagedDescription("This is the maximum number of nodes allowed in this region. " +
-      		"0 denotes immediate expiry, -1 denotes no limit.")
+            "0 denotes immediate expiry, -1 denotes no limit.")
       public int getMaxSize()
       {
          return lfu.getMaxNodes();
@@ -133,9 +133,9 @@
       @Managed
       @ManagedName("MinNodes")
       @ManagedDescription("This is the minimum number of nodes allowed in this region. This value determines " +
-      		"what the eviction queue should prune down to per pass. e.g. If minNodes is 10 and the cache grows " +
-      		"to 100 nodes, the cache is pruned down to the 10 most frequently used nodes when the eviction timer " +
-      		"makes a pass through the eviction algorithm.")
+            "what the eviction queue should prune down to per pass. e.g. If minNodes is 10 and the cache grows " +
+            "to 100 nodes, the cache is pruned down to the 10 most frequently used nodes when the eviction timer " +
+            "makes a pass through the eviction algorithm.")
       public long getMinNodes()
       {
          return lfu.getMinNodes();

Modified: kernel/trunk/exo.kernel.component.ext.cache.impl.jboss.v3/src/main/java/org/exoplatform/services/cache/impl/jboss/lru/LRUExoCacheCreator.java
===================================================================
--- kernel/trunk/exo.kernel.component.ext.cache.impl.jboss.v3/src/main/java/org/exoplatform/services/cache/impl/jboss/lru/LRUExoCacheCreator.java	2011-04-29 12:18:25 UTC (rev 4334)
+++ kernel/trunk/exo.kernel.component.ext.cache.impl.jboss.v3/src/main/java/org/exoplatform/services/cache/impl/jboss/lru/LRUExoCacheCreator.java	2011-04-29 12:44:02 UTC (rev 4335)
@@ -122,8 +122,8 @@
 
       @ManagedName("MinTimeToLive")
       @ManagedDescription("the minimum amount of time a node must be allowed to live after" +
-      		" being accessed before it is allowed to be considered for eviction. 0 denotes " +
-      		"that this feature is disabled, which is the default value.")
+            " being accessed before it is allowed to be considered for eviction. 0 denotes " +
+            "that this feature is disabled, which is the default value.")
       public long getLiveTime()
       {
          return lru.getMinTimeToLive();
@@ -131,7 +131,7 @@
 
       @ManagedName("MaxNodes")
       @ManagedDescription("This is the maximum number of nodes allowed in this region. " +
-      		"0 denotes immediate expiry, -1 denotes no limit.")
+            "0 denotes immediate expiry, -1 denotes no limit.")
       public int getMaxSize()
       {
          return lru.getMaxNodes();
@@ -140,7 +140,7 @@
       @Managed
       @ManagedName("TimeToLive")
       @ManagedDescription("The amount of time a node is not written to or read (in milliseconds) " +
-      		"before the node is swept away. 0 denotes immediate expiry, -1 denotes no limit.")
+            "before the node is swept away. 0 denotes immediate expiry, -1 denotes no limit.")
       public long getTimeToLive()
       {
          return lru.getTimeToLive();
@@ -149,7 +149,7 @@
       @Managed
       @ManagedName("MaxAges")
       @ManagedDescription("Lifespan of a node (in milliseconds) regardless of idle time before " +
-      		"the node is swept away. 0 denotes immediate expiry, -1 denotes no limit.")
+            "the node is swept away. 0 denotes immediate expiry, -1 denotes no limit.")
       public long getMaxAge()
       {
          return lru.getMaxAge();

Modified: kernel/trunk/exo.kernel.component.ext.cache.impl.jboss.v3/src/main/java/org/exoplatform/services/cache/impl/jboss/mru/MRUExoCacheCreator.java
===================================================================
--- kernel/trunk/exo.kernel.component.ext.cache.impl.jboss.v3/src/main/java/org/exoplatform/services/cache/impl/jboss/mru/MRUExoCacheCreator.java	2011-04-29 12:18:25 UTC (rev 4334)
+++ kernel/trunk/exo.kernel.component.ext.cache.impl.jboss.v3/src/main/java/org/exoplatform/services/cache/impl/jboss/mru/MRUExoCacheCreator.java	2011-04-29 12:44:02 UTC (rev 4335)
@@ -89,7 +89,7 @@
 
          @ManagedName("MaxNodes")
          @ManagedDescription("This is the maximum number of nodes allowed in this region. " +
-         		"0 denotes immediate expiry, -1 denotes no limit.")
+               "0 denotes immediate expiry, -1 denotes no limit.")
          public int getMaxSize()
          {
             return mru.getMaxNodes();
@@ -97,8 +97,8 @@
 
          @ManagedName("MinTimeToLive")
          @ManagedDescription("the minimum amount of time a node must be allowed to live after " +
-         		"being accessed before it is allowed to be considered for eviction. " +
-         		"0 denotes that this feature is disabled, which is the default value.")
+               "being accessed before it is allowed to be considered for eviction. " +
+               "0 denotes that this feature is disabled, which is the default value.")
          public long getLiveTime()
          {
             return mru.getMinTimeToLive();



More information about the exo-jcr-commits mailing list