diff options
Diffstat (limited to 'libjava/java/util')
-rw-r--r-- | libjava/java/util/Date.java | 2 | ||||
-rw-r--r-- | libjava/java/util/regex/Pattern.java | 4 | ||||
-rw-r--r-- | libjava/java/util/regex/PatternSyntaxException.java | 1 |
3 files changed, 5 insertions, 2 deletions
diff --git a/libjava/java/util/Date.java b/libjava/java/util/Date.java index 5bd531d..e81d24a 100644 --- a/libjava/java/util/Date.java +++ b/libjava/java/util/Date.java @@ -108,7 +108,7 @@ public class Date implements Cloneable, Comparable, java.io.Serializable min).getTimeInMillis(); } - /* + /** * Creates a new Date Object representing the given time. * @deprecated use <code>new GregorianCalendar(year+1900, month, * day)</code> instead. diff --git a/libjava/java/util/regex/Pattern.java b/libjava/java/util/regex/Pattern.java index 0ea1bfb..39a01ba 100644 --- a/libjava/java/util/regex/Pattern.java +++ b/libjava/java/util/regex/Pattern.java @@ -38,7 +38,9 @@ exception statement from your version. */ // Stub class until java.util.regex is implemented. package java.util.regex; -public class Pattern +import java.io.Serializable; + +public class Pattern implements Serializable { public static Pattern compile(String regex) { diff --git a/libjava/java/util/regex/PatternSyntaxException.java b/libjava/java/util/regex/PatternSyntaxException.java index fc40d34..e048752 100644 --- a/libjava/java/util/regex/PatternSyntaxException.java +++ b/libjava/java/util/regex/PatternSyntaxException.java @@ -44,6 +44,7 @@ package java.util.regex; */ public class PatternSyntaxException extends IllegalArgumentException { + private static final long serialVersionUID = -3864639126226059218L; /** * Human readable escription of the syntax error. |