db-ojb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From arm...@apache.org
Subject svn commit: r373117 - /db/ojb/branches/OJB_1_0_RELEASE/src/java/org/apache/ojb/broker/util/logging/PoorMansLoggerImpl.java
Date Sat, 28 Jan 2006 10:11:13 GMT
Author: arminw
Date: Sat Jan 28 02:11:06 2006
New Revision: 373117

URL: http://svn.apache.org/viewcvs?rev=373117&view=rev
Log:
minor performance improvement, declare log-level check methods final

Modified:
    db/ojb/branches/OJB_1_0_RELEASE/src/java/org/apache/ojb/broker/util/logging/PoorMansLoggerImpl.java

Modified: db/ojb/branches/OJB_1_0_RELEASE/src/java/org/apache/ojb/broker/util/logging/PoorMansLoggerImpl.java
URL: http://svn.apache.org/viewcvs/db/ojb/branches/OJB_1_0_RELEASE/src/java/org/apache/ojb/broker/util/logging/PoorMansLoggerImpl.java?rev=373117&r1=373116&r2=373117&view=diff
==============================================================================
--- db/ojb/branches/OJB_1_0_RELEASE/src/java/org/apache/ojb/broker/util/logging/PoorMansLoggerImpl.java
(original)
+++ db/ojb/branches/OJB_1_0_RELEASE/src/java/org/apache/ojb/broker/util/logging/PoorMansLoggerImpl.java
Sat Jan 28 02:11:06 2006
@@ -278,12 +278,12 @@
     }
 
 
-    public boolean isDebugEnabled()
+    public final boolean isDebugEnabled()
     {
         return DEBUG == level;
     }
 
-    public boolean isEnabledFor(int priority)
+    public final boolean isEnabledFor(int priority)
     {
         return !(priority < level);
     }



---------------------------------------------------------------------
To unsubscribe, e-mail: ojb-dev-unsubscribe@db.apache.org
For additional commands, e-mail: ojb-dev-help@db.apache.org


Mime
View raw message