aboutsummaryrefslogtreecommitdiff
path: root/libjava/java/util
diff options
context:
space:
mode:
Diffstat (limited to 'libjava/java/util')
-rw-r--r--libjava/java/util/Date.java1
-rw-r--r--libjava/java/util/ResourceBundle.java3
-rw-r--r--libjava/java/util/regex/Pattern.java6
3 files changed, 0 insertions, 10 deletions
diff --git a/libjava/java/util/Date.java b/libjava/java/util/Date.java
index c25b503..43ae969 100644
--- a/libjava/java/util/Date.java
+++ b/libjava/java/util/Date.java
@@ -460,7 +460,6 @@ public class Date implements Cloneable, Comparable, java.io.Serializable
int curYear = 1900 + new Date().getYear();
int firstYear = curYear - 80;
year = firstYear / 100 * 100 + num;
- int yx = year;
if (year < firstYear)
year += 100;
}
diff --git a/libjava/java/util/ResourceBundle.java b/libjava/java/util/ResourceBundle.java
index 6663bd4..264152a 100644
--- a/libjava/java/util/ResourceBundle.java
+++ b/libjava/java/util/ResourceBundle.java
@@ -42,7 +42,6 @@ import java.lang.ref.Reference;
import java.lang.ref.SoftReference;
import java.io.InputStream;
import java.io.IOException;
-import gnu.classpath.Configuration;
/**
* A resource bundle contains locale-specific data. If you need localized
@@ -345,7 +344,6 @@ public abstract class ResourceBundle
else if (cache.containsKey(name))
{
Reference ref = (Reference) cache.get(name);
- ResourceBundle result = null;
// If REF is null, that means that we added a `null' value to
// the hash map. That means we failed to find the bundle
// previously, and we cached that fact. The JDK does this, so
@@ -440,7 +438,6 @@ public abstract class ResourceBundle
if (cache.containsKey(localizedName))
{
Reference ref = (Reference) cache.get(localizedName);
- ResourceBundle result = null;
// If REF is null, that means that we added a `null' value to
// the hash map. That means we failed to find the bundle
// previously, and we cached that fact. The JDK does this, so
diff --git a/libjava/java/util/regex/Pattern.java b/libjava/java/util/regex/Pattern.java
index 779103b..174bdae 100644
--- a/libjava/java/util/regex/Pattern.java
+++ b/libjava/java/util/regex/Pattern.java
@@ -67,12 +67,6 @@ public class Pattern implements Serializable
private final RE re;
- private Pattern (String regex)
- throws PatternSyntaxException
- {
- this (regex, 0);
- }
-
private Pattern (String regex, int flags)
throws PatternSyntaxException
{