2004-05-05 Michael Koch <konqueror@gmx.de>
authorMichael Koch <konqueror@gmx.de>
Wed, 5 May 2004 08:47:37 +0000 (08:47 +0000)
committerMichael Koch <mkoch@gcc.gnu.org>
Wed, 5 May 2004 08:47:37 +0000 (08:47 +0000)
* java/util/prefs/AbstractPreferences.java
(AbstractPreferences): Added parenthesis for clarity.
Closes classpath bug #7940.

From-SVN: r81515

libjava/ChangeLog
libjava/java/util/prefs/AbstractPreferences.java

index a2187f11c689af5f8181935b0013eb6c40e94200..1a7dc417884645b040af8e5e4f1d2844fa3bf139 100644 (file)
@@ -1,3 +1,9 @@
+2004-05-05  Michael Koch  <konqueror@gmx.de>
+
+       * java/util/prefs/AbstractPreferences.java
+       (AbstractPreferences): Added parenthesis for clarity.
+       Closes classpath bug #7940.
+
 2004-05-05  Tom Tromey  <tromey@redhat.com>
 
        * javax/naming/CompoundName.java (endsWith): Look at correct
index 12313c0902f3bfba2c5c9c0e00562e4dd2f61fec..876279c8c626e2614bb847253404cc887f3e7733 100644 (file)
@@ -119,7 +119,7 @@ public abstract class AbstractPreferences extends Preferences {
             throw new IllegalArgumentException("Illegal name argument '"
                                                + name
                                                + "' (parent is "
-                                               + parent == null ? "" : "not "
+                                               + (parent == null ? "" : "not ")
                                                + "null)");
         this.parent = parent;
         this.name = name;