2004-05-06 Michael Koch <konqueror@gmx.de>

* java/util/logging/Level.java
	(parse): Use == instead of String.equals().

From-SVN: r81568
This commit is contained in:
Michael Koch 2004-05-06 15:55:00 +00:00 committed by Michael Koch
parent dc884a86d3
commit 0a215a117b
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2004-05-06 Michael Koch <konqueror@gmx.de>
* java/util/logging/Level.java
(parse): Use == instead of String.equals().
2004-05-06 Bryce McKinlay <mckinlay@redhat.com>
* defineclass.cc (_Jv_ClassReader::prepare_pool_entry): Use

View File

@ -343,7 +343,7 @@ public class Level implements Serializable
for (int i = 0; i < knownLevels.length; i++)
{
if (name.equals(knownLevels[i].name))
if (name == knownLevels[i].name)
return knownLevels[i];
}