Author: bstansberry(a)jboss.com
Date: 2007-09-10 14:07:31 -0400 (Mon, 10 Sep 2007)
New Revision: 4453
Modified:
pojo/trunk/src/main/java/org/jboss/cache/pojo/jmx/PojoCacheJmxWrapper.java
Log:
[JBCACHE-1182] Don't log WARN messages on calling getter for deprecated attributes
Modified: pojo/trunk/src/main/java/org/jboss/cache/pojo/jmx/PojoCacheJmxWrapper.java
===================================================================
--- pojo/trunk/src/main/java/org/jboss/cache/pojo/jmx/PojoCacheJmxWrapper.java 2007-09-10
18:05:26 UTC (rev 4452)
+++ pojo/trunk/src/main/java/org/jboss/cache/pojo/jmx/PojoCacheJmxWrapper.java 2007-09-10
18:07:31 UTC (rev 4453)
@@ -331,8 +331,6 @@
public Element getCacheLoaderConfiguration()
{
- log.warn("MBean attribute 'CacheLoaderConfiguration' is deprecated;
" +
- "use 'CacheLoaderConfig'");
return getCacheLoaderConfig();
}
@@ -368,8 +366,6 @@
public boolean getUseInterceptorMbeans()
{
- log.warn("MBean attribute 'UseInterceptorMbeans' is deprecated; "
+
- "use 'ExposeManagementStatistics'");
return getExposeManagementStatistics();
}
Show replies by date