diff options
Diffstat (limited to 'libjava/java/text')
-rw-r--r-- | libjava/java/text/DateFormat.java | 2 | ||||
-rw-r--r-- | libjava/java/text/SimpleDateFormat.java | 7 |
2 files changed, 5 insertions, 4 deletions
diff --git a/libjava/java/text/DateFormat.java b/libjava/java/text/DateFormat.java index f19817ee2da..1571672dc43 100644 --- a/libjava/java/text/DateFormat.java +++ b/libjava/java/text/DateFormat.java @@ -494,7 +494,7 @@ public abstract class DateFormat extends Format implements Cloneable * This method returns a list of available locales supported by this * class. */ - public static Locale[] getAvailableLocales () + public static Locale[] getAvailableLocales() { // FIXME Locale[] l = new Locale[1]; diff --git a/libjava/java/text/SimpleDateFormat.java b/libjava/java/text/SimpleDateFormat.java index d8e15f2aeca..ce833b661a8 100644 --- a/libjava/java/text/SimpleDateFormat.java +++ b/libjava/java/text/SimpleDateFormat.java @@ -45,8 +45,8 @@ import gnu.java.text.FormatBuffer; import gnu.java.text.FormatCharacterIterator; import gnu.java.text.StringFormatBuffer; -import java.io.InvalidObjectException; import java.io.IOException; +import java.io.InvalidObjectException; import java.io.ObjectInputStream; import java.util.ArrayList; import java.util.Calendar; @@ -97,7 +97,8 @@ public class SimpleDateFormat extends DateFormat * @param s the size of the field. * @param c the character used. */ - public CompiledField(int f, int s, char c) { + public CompiledField(int f, int s, char c) + { field = f; size = s; character = c; @@ -169,7 +170,7 @@ public class SimpleDateFormat extends DateFormat * @see DateFormatSymbols * @serial The localisation data. May not be null. */ - private DateFormatSymbols formatData; // formatData + private DateFormatSymbols formatData; /** * The date representing the start of the century |