Commit c26052b0 by Mark Wielaard Committed by Michael Koch

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
parent 2ee1067b
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:
......
......@@ -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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment