[jboss-cvs] JBossCache/src/org/jboss/cache/config ...
Manik Surtani
msurtani at jboss.com
Thu Dec 21 22:17:15 EST 2006
User: msurtani
Date: 06/12/21 22:17:15
Modified: src/org/jboss/cache/config CacheLoaderConfig.java
Log:
genericised
Revision Changes Path
1.18 +287 -286 JBossCache/src/org/jboss/cache/config/CacheLoaderConfig.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: CacheLoaderConfig.java
===================================================================
RCS file: /cvsroot/jboss/JBossCache/src/org/jboss/cache/config/CacheLoaderConfig.java,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -b -r1.17 -r1.18
--- CacheLoaderConfig.java 25 Oct 2006 04:50:20 -0000 1.17
+++ CacheLoaderConfig.java 22 Dec 2006 03:17:15 -0000 1.18
@@ -6,14 +6,14 @@
*/
package org.jboss.cache.config;
+import org.jboss.cache.xml.XmlHelper;
+
import java.io.ByteArrayInputStream;
import java.io.IOException;
import java.util.ArrayList;
import java.util.List;
import java.util.Properties;
-import org.jboss.cache.xml.XmlHelper;
-
/**
* Holds the configuration of the cache loader chain. ALL cache loaders should be defined using this class, adding
* individual cache loaders to the chain by calling {@see CacheLoaderConfig#addIndividualCacheLoaderConfig}
@@ -65,7 +65,7 @@
addChildConfig(clc);
}
- public List getIndividualCacheLoaderConfigs()
+ public List<IndividualCacheLoaderConfig> getIndividualCacheLoaderConfigs()
{
return cacheLoaderConfigs;
}
@@ -132,7 +132,6 @@
}
-
/**
* Configuration object that holds the confguration of an individual cache loader.
*
@@ -153,7 +152,9 @@
private Properties properties;
- public IndividualCacheLoaderConfig() {}
+ public IndividualCacheLoaderConfig()
+ {
+ }
protected void populateFromBaseConfig(IndividualCacheLoaderConfig base)
{
@@ -281,7 +282,7 @@
public boolean equals(Object obj)
{
return equalsExcludingProperties(obj)
- && safeEquals(this.properties, ((IndividualCacheLoaderConfig)obj).properties);
+ && safeEquals(this.properties, ((IndividualCacheLoaderConfig) obj).properties);
}
protected boolean equalsExcludingProperties(Object obj)
More information about the jboss-cvs-commits
mailing list