diff options
author | Michael Koch <konqueror@gmx.de> | 2004-05-06 15:55:00 +0000 |
---|---|---|
committer | Michael Koch <mkoch@gcc.gnu.org> | 2004-05-06 15:55:00 +0000 |
commit | 0a215a117ba34bd7f584a4ec2f649fdfbb7b6172 (patch) | |
tree | a10868c1067f9232d24839691de91ca6b2ce436e /libjava/java/util/logging/Level.java | |
parent | dc884a86d3ffa4108b66a232d18eb3fa35000863 (diff) | |
download | gcc-0a215a117ba34bd7f584a4ec2f649fdfbb7b6172.zip gcc-0a215a117ba34bd7f584a4ec2f649fdfbb7b6172.tar.gz gcc-0a215a117ba34bd7f584a4ec2f649fdfbb7b6172.tar.bz2 |
2004-05-06 Michael Koch <konqueror@gmx.de>
* java/util/logging/Level.java
(parse): Use == instead of String.equals().
From-SVN: r81568
Diffstat (limited to 'libjava/java/util/logging/Level.java')
-rw-r--r-- | libjava/java/util/logging/Level.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libjava/java/util/logging/Level.java b/libjava/java/util/logging/Level.java index ed497d5..e37f9cb 100644 --- a/libjava/java/util/logging/Level.java +++ b/libjava/java/util/logging/Level.java @@ -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]; } |