summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormkoch <mkoch@138bc75d-0d04-0410-961f-82ee72b054a4>2004-10-18 10:23:59 +0000
committermkoch <mkoch@138bc75d-0d04-0410-961f-82ee72b054a4>2004-10-18 10:23:59 +0000
commit2e98f1147826aed0074bd0c2d781a53424e7a36f (patch)
tree1e97800e032687746fefdf7b66a126246467d036
parentf5b92d375c9b4c32cc9dbd9c312173048c1a83de (diff)
downloadgcc-2e98f1147826aed0074bd0c2d781a53424e7a36f.tar.gz
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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@89206 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r--libjava/ChangeLog9
-rw-r--r--libjava/java/util/Timer.java2
-rw-r--r--libjava/java/util/logging/LogRecord.java2
-rw-r--r--libjava/javax/naming/spi/NamingManager.java4
4 files changed, 13 insertions, 4 deletions
diff --git a/libjava/ChangeLog b/libjava/ChangeLog
index c96b8ba6b13..2abe5d7e90c 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 928cd9b5d50..cfc05157a4a 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 9fd6cd878f7..40b2b72ba9e 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 4051f2288a9..6c75e72e070 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 ()