harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From telli...@apache.org
Subject svn commit: r432309 - /incubator/harmony/enhanced/classlib/trunk/modules/logging/src/main/java/java/util/logging/Handler.java
Date Thu, 17 Aug 2006 17:57:28 GMT
Author: tellison
Date: Thu Aug 17 10:57:28 2006
New Revision: 432309

URL: http://svn.apache.org/viewvc?rev=432309&view=rev
Log:
Apply patch HARMONY-692 ([classlib][logging]unexpected error message for Handler().isLoggable(null))

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=432309&r1=432308&r2=432309&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
Thu Aug 17 10:57:28 2006
@@ -265,8 +265,6 @@
      */
     public boolean isLoggable(LogRecord record) {
         if (null == record) {
-            reportError(
-                    "Null pointer of LogRecord", new NullPointerException(), ErrorManager.GENERIC_FAILURE);
//$NON-NLS-1$ //$NON-NLS-2$
             return false;
         }
         if (this.level.intValue() == Level.OFF.intValue()) {



Mime
View raw message