[jboss-cvs] JBossCache/src-50/org/jboss/cache/pojo ...
Ben Wang
bwang at jboss.com
Tue Oct 31 06:07:19 EST 2006
User: bwang
Date: 06/10/31 06:07:19
Modified: src-50/org/jboss/cache/pojo PojoCacheFactory.java
Log:
Refactored to be consistent with Cache factory method name.
Revision Changes Path
1.7 +4 -4 JBossCache/src-50/org/jboss/cache/pojo/PojoCacheFactory.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: PojoCacheFactory.java
===================================================================
RCS file: /cvsroot/jboss/JBossCache/src-50/org/jboss/cache/pojo/PojoCacheFactory.java,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -b -r1.6 -r1.7
--- PojoCacheFactory.java 27 Sep 2006 04:47:59 -0000 1.6
+++ PojoCacheFactory.java 31 Oct 2006 11:07:19 -0000 1.7
@@ -13,7 +13,7 @@
/**
* Factory method to create a PojoCache instance.
*
- * @version $Id: PojoCacheFactory.java,v 1.6 2006/09/27 04:47:59 bwang Exp $
+ * @version $Id: PojoCacheFactory.java,v 1.7 2006/10/31 11:07:19 bwang Exp $
*/
public class PojoCacheFactory
{
@@ -23,7 +23,7 @@
* configure the underlying Cache instance.
* @return PojoCache
*/
- public static PojoCache createInstance(String config)
+ public static PojoCache createCache(String config)
{
return new PojoCacheImpl(config, true);
}
@@ -35,7 +35,7 @@
* @param start If true, it will start the cache life cycle.
* @return PojoCache
*/
- public static PojoCache createInstance(String config, boolean start)
+ public static PojoCache createCache(String config, boolean start)
{
return new PojoCacheImpl(config, start);
}
@@ -46,7 +46,7 @@
* @param start If true, it will start the cache life cycle.
* @return PojoCache
*/
- public static PojoCache createInstance(Configuration config, boolean start)
+ public static PojoCache createCache(Configuration config, boolean start)
{
return new PojoCacheImpl(config, start);
}
More information about the jboss-cvs-commits
mailing list