Author: manik.surtani(a)jboss.com
Date: 2008-01-01 19:31:47 -0500 (Tue, 01 Jan 2008)
New Revision: 4931
Modified:
core/trunk/src/main/java/org/jboss/cache/CacheImpl.java
Log:
added check to ensure buddy manager is enabled before attempting to initialise
Modified: core/trunk/src/main/java/org/jboss/cache/CacheImpl.java
===================================================================
--- core/trunk/src/main/java/org/jboss/cache/CacheImpl.java 2008-01-01 22:58:36 UTC (rev
4930)
+++ core/trunk/src/main/java/org/jboss/cache/CacheImpl.java 2008-01-02 00:31:47 UTC (rev
4931)
@@ -730,7 +730,7 @@
{
log.info("CacheImpl local address is " +
channel.getLocalAddress());
}
- if (buddyManager != null)
+ if (buddyManager != null && buddyManager.isEnabled())
{
//buddyManager.init(this);
buddyManager.init();
Show replies by date