aboutsummaryrefslogtreecommitdiff
path: root/libjava/java/util/logging/Level.java
diff options
context:
space:
mode:
authorMichael Koch <konqueror@gmx.de>2004-05-06 15:55:00 +0000
committerMichael Koch <mkoch@gcc.gnu.org>2004-05-06 15:55:00 +0000
commit0a215a117ba34bd7f584a4ec2f649fdfbb7b6172 (patch)
treea10868c1067f9232d24839691de91ca6b2ce436e /libjava/java/util/logging/Level.java
parentdc884a86d3ffa4108b66a232d18eb3fa35000863 (diff)
downloadgcc-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.java2
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];
}