2004-05-06 Michael Koch <konqueror@gmx.de>
authorMichael Koch <konqueror@gmx.de>
Thu, 6 May 2004 15:55:00 +0000 (15:55 +0000)
committerMichael Koch <mkoch@gcc.gnu.org>
Thu, 6 May 2004 15:55:00 +0000 (15:55 +0000)
* java/util/logging/Level.java
(parse): Use == instead of String.equals().

From-SVN: r81568

libjava/ChangeLog
libjava/java/util/logging/Level.java

index df40a146d1269a352b58b8e6cc1bd5fd7403ae6d..e6512ac92e6e10638ff4de2e61da0e4a2f8aeddb 100644 (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 
index ed497d537e0662a6d1c333794762631dfbc58658..e37f9cb5824a211c4e5283a0ca95e96c82adc2b0 100644 (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];
     }