diff options
Diffstat (limited to 'libjava')
-rw-r--r-- | libjava/ChangeLog | 9 | ||||
-rw-r--r-- | libjava/java/util/Timer.java | 2 | ||||
-rw-r--r-- | libjava/java/util/logging/LogRecord.java | 2 | ||||
-rw-r--r-- | libjava/javax/naming/spi/NamingManager.java | 4 |
4 files changed, 13 insertions, 4 deletions
diff --git a/libjava/ChangeLog b/libjava/ChangeLog index c96b8ba..2abe5d7 100644 --- a/libjava/ChangeLog +++ b/libjava/ChangeLog @@ -1,3 +1,12 @@ +2004-10-18 Jeroen Frijters <jeroen@frijters.net> + + * java/util/Timer.java + (nr): Removed useless initializer. + * java/util/logging/LogRecord.java + (lastSeqNum): Likewise. + * javax/naming/spi/NamingManager.java + (icfb, ofb): Likewise. + 2004-10-18 Michael Koch <konqueror@gmx.de> * gnu/java/net/PlainDatagramSocketImpl.java: diff --git a/libjava/java/util/Timer.java b/libjava/java/util/Timer.java index 928cd9b..cfc0515 100644 --- a/libjava/java/util/Timer.java +++ b/libjava/java/util/Timer.java @@ -376,7 +376,7 @@ public class Timer // Number of Timers created. // Used for creating nice Thread names. - private static int nr = 0; + private static int nr; // The queue that all the tasks are put in. // Given to the scheduler diff --git a/libjava/java/util/logging/LogRecord.java b/libjava/java/util/logging/LogRecord.java index 9fd6cd8..40b2b72 100644 --- a/libjava/java/util/logging/LogRecord.java +++ b/libjava/java/util/logging/LogRecord.java @@ -384,7 +384,7 @@ public class LogRecord /** * The last used sequence number for any LogRecord. */ - private static long lastSeqNum = 0; + private static long lastSeqNum; /** diff --git a/libjava/javax/naming/spi/NamingManager.java b/libjava/javax/naming/spi/NamingManager.java index 4051f22..6c75e72 100644 --- a/libjava/javax/naming/spi/NamingManager.java +++ b/libjava/javax/naming/spi/NamingManager.java @@ -55,10 +55,10 @@ public class NamingManager { public static final String CPE = "java.naming.spi.CannotProceedException"; - private static InitialContextFactoryBuilder icfb = null; + private static InitialContextFactoryBuilder icfb; // Package private so DirectoryManager can access it. - static ObjectFactoryBuilder ofb = null; + static ObjectFactoryBuilder ofb; // This class cannot be instantiated. NamingManager () |