You are viewing a plain text version of this content. The canonical link for it is here.
Posted to ojb-dev@db.apache.org by ar...@apache.org on 2005/11/09 01:54:49 UTC
cvs commit: db-ojb/src/java/org/apache/ojb/broker/util/interceptor InterceptorFactory.java
arminw 2005/11/08 16:54:49
Modified: src/java/org/apache/ojb/broker/util/interceptor Tag:
OJB_1_0_RELEASE InterceptorFactory.java
Log:
add default property value to avoid logging warn message
Revision Changes Path
No revision
No revision
1.10.2.2 +3 -3 db-ojb/src/java/org/apache/ojb/broker/util/interceptor/Attic/InterceptorFactory.java
Index: InterceptorFactory.java
===================================================================
RCS file: /home/cvs/db-ojb/src/java/org/apache/ojb/broker/util/interceptor/Attic/InterceptorFactory.java,v
retrieving revision 1.10.2.1
retrieving revision 1.10.2.2
diff -u -r1.10.2.1 -r1.10.2.2
--- InterceptorFactory.java 25 Jan 2005 20:00:53 -0000 1.10.2.1
+++ InterceptorFactory.java 9 Nov 2005 00:54:49 -0000 1.10.2.2
@@ -65,8 +65,8 @@
*/
public void configure(Configuration pConfig) throws ConfigurationException
{
- Class clazz = pConfig.getClass("InterceptorClass", null);
- setInterceptorClassToBeUsed(clazz);
+ Class clazz = pConfig.getClass("InterceptorClass", Object.class);
+ if(!clazz.equals(Object.class)) setInterceptorClassToBeUsed(clazz);
}
public Object createInterceptorFor(Object instanceToIntercept)
---------------------------------------------------------------------
To unsubscribe, e-mail: ojb-dev-unsubscribe@db.apache.org
For additional commands, e-mail: ojb-dev-help@db.apache.org