[Comsuite-svn] SF.net SVN: comsuite: [134] trunk/code/CSCommon/src
Brought to you by:
zduniak
|
From: <ma...@us...> - 2006-09-10 12:10:29
|
Revision: 134
http://svn.sourceforge.net/comsuite/?rev=134&view=rev
Author: marasm
Date: 2006-09-10 05:10:15 -0700 (Sun, 10 Sep 2006)
Log Message:
-----------
property name changed
Modified Paths:
--------------
trunk/code/CSCommon/src/aop.properties
trunk/code/CSCommon/src/org/commsuite/aop/CsMethodsDebuggerInterceptor.java
Modified: trunk/code/CSCommon/src/aop.properties
===================================================================
--- trunk/code/CSCommon/src/aop.properties 2006-09-10 11:31:56 UTC (rev 133)
+++ trunk/code/CSCommon/src/aop.properties 2006-09-10 12:10:15 UTC (rev 134)
@@ -1,4 +1,4 @@
-dao.times.debug.interceptor.debug.daos.times = true
+dao.times.debug.interceptor.debug = true
dao.times.debug.interceptor.debug.methods.parameters = true
dao.times.debug.interceptor.debug.returned.values = true
dao.times.debug.interceptor.omited.methods =
Modified: trunk/code/CSCommon/src/org/commsuite/aop/CsMethodsDebuggerInterceptor.java
===================================================================
--- trunk/code/CSCommon/src/org/commsuite/aop/CsMethodsDebuggerInterceptor.java 2006-09-10 11:31:56 UTC (rev 133)
+++ trunk/code/CSCommon/src/org/commsuite/aop/CsMethodsDebuggerInterceptor.java 2006-09-10 12:10:15 UTC (rev 134)
@@ -14,7 +14,7 @@
private final static Logger logger = Logger
.getLogger(CsMethodsDebuggerInterceptor.class);
- private boolean debugDaosTimes;
+ private boolean debug;
private boolean debugMethodsParameters;
@@ -24,7 +24,7 @@
public Object invoke(MethodInvocation invocation) throws Throwable {
- if (!debugDaosTimes) {
+ if (!debug) {
return invocation.proceed();
}
@@ -82,8 +82,8 @@
}
public void setDebugProperties(Properties debugProperties) {
- this.debugDaosTimes = "true".equals(debugProperties
- .getProperty("dao.times.debug.interceptor.debug.daos.times"));
+ this.debug = "true".equals(debugProperties
+ .getProperty("dao.times.debug.interceptor.debug"));
this.debugMethodsParameters = "true"
.equals(debugProperties
.getProperty("dao.times.debug.interceptor.debug.methods.parameters"));
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|