diff options
author | Mark Wielaard <mark@klomp.org> | 2003-07-18 16:08:38 +0000 |
---|---|---|
committer | Michael Koch <mkoch@gcc.gnu.org> | 2003-07-18 16:08:38 +0000 |
commit | c26052b06be808348a5bf78f9bf3d4a29cb80843 (patch) | |
tree | 8a15acd7c303d6226d5c783b32feb434f9d87917 /libjava | |
parent | 2ee1067b6b1d31e76dacf4cf966c6c51e8a52770 (diff) | |
download | gcc-c26052b06be808348a5bf78f9bf3d4a29cb80843.zip gcc-c26052b06be808348a5bf78f9bf3d4a29cb80843.tar.gz gcc-c26052b06be808348a5bf78f9bf3d4a29cb80843.tar.bz2 |
Handler.java (isLoggable): Check record level smaller or equal.
2003-07-18 Mark Wielaard <mark@klomp.org>
* java/util/logging/Handler.java (isLoggable): Check record level
smaller or equal.
From-SVN: r69563
Diffstat (limited to 'libjava')
-rw-r--r-- | libjava/ChangeLog | 5 | ||||
-rw-r--r-- | libjava/java/util/logging/Handler.java | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/libjava/ChangeLog b/libjava/ChangeLog index f357b3a..3adf7a5 100644 --- a/libjava/ChangeLog +++ b/libjava/ChangeLog @@ -1,3 +1,8 @@ +2003-07-18 Mark Wielaard <mark@klomp.org> + + * java/util/logging/Handler.java (isLoggable): Check record level + smaller or equal. + 2003-07-17 Michael Koch <konqueror@gmx.de> * gnu/java/awt/peer/gtk/GtkToolkit.java: diff --git a/libjava/java/util/logging/Handler.java b/libjava/java/util/logging/Handler.java index 3245321..c0fb1cd 100644 --- a/libjava/java/util/logging/Handler.java +++ b/libjava/java/util/logging/Handler.java @@ -379,7 +379,7 @@ h.setFormatter(h.getFormatter());</pre> */ public boolean isLoggable(LogRecord record) { - if (record.getLevel().intValue() < level.intValue()) + if (record.getLevel().intValue() <= level.intValue()) return false; if (filter != null) |