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:
parent
dc884a86d3
commit
0a215a117b
@ -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
|
||||
|
@ -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];
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user