harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ge...@apache.org
Subject svn commit: r422825 - /incubator/harmony/enhanced/classlib/trunk/modules/logging/src/main/java/java/util/logging/Handler.java
Date Mon, 17 Jul 2006 19:53:57 GMT
Author: geirm
Date: Mon Jul 17 12:53:56 2006
New Revision: 422825

URL: http://svn.apache.org/viewvc?rev=422825&view=rev
Log:
simplifies the expression a little


Modified:
    incubator/harmony/enhanced/classlib/trunk/modules/logging/src/main/java/java/util/logging/Handler.java

Modified: incubator/harmony/enhanced/classlib/trunk/modules/logging/src/main/java/java/util/logging/Handler.java
URL: http://svn.apache.org/viewvc/incubator/harmony/enhanced/classlib/trunk/modules/logging/src/main/java/java/util/logging/Handler.java?rev=422825&r1=422824&r2=422825&view=diff
==============================================================================
--- incubator/harmony/enhanced/classlib/trunk/modules/logging/src/main/java/java/util/logging/Handler.java
(original)
+++ incubator/harmony/enhanced/classlib/trunk/modules/logging/src/main/java/java/util/logging/Handler.java
Mon Jul 17 12:53:56 2006
@@ -272,7 +272,7 @@
         if (this.level.intValue() == Level.OFF.intValue()) {
             return false;
         } else if (record.getLevel().intValue() >= this.level.intValue()) {
-            return null == this.filter ? true : this.filter.isLoggable(record);
+            return null == this.filter || this.filter.isLoggable(record);
         }
         return false;
     }



Mime
View raw message