summaryrefslogtreecommitdiff
path: root/libjava/java/text
diff options
context:
space:
mode:
authormkoch <mkoch@138bc75d-0d04-0410-961f-82ee72b054a4>2005-02-22 13:02:11 +0000
committermkoch <mkoch@138bc75d-0d04-0410-961f-82ee72b054a4>2005-02-22 13:02:11 +0000
commitd6b22e91afb6811fa5f2ce5b71c20e2d9f428374 (patch)
treea6292178d291461e4d7cdeef5f47fcf2be86c28c /libjava/java/text
parent805838c9054784107bc25cd3fccb47518521f7ee (diff)
downloadgcc-d6b22e91afb6811fa5f2ce5b71c20e2d9f428374.tar.gz
2005-02-22 Michael Koch <konqueror@gmx.de>
* java/nio/DirectByteBufferImpl.java (owner): Fixed formatting of javadoc. * java/text/DateFormat.java (getAvailableLocales): Fixed formatting. * java/text/SimpleDateFormat.java: Fixed formatting and import statement order. * java/util/Calendar.java (Calendar): Fixed javadoc to be HTML compliant. * java/util/SimpleTimeZone.java: Fixed javadocs. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95392 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libjava/java/text')
-rw-r--r--libjava/java/text/DateFormat.java2
-rw-r--r--libjava/java/text/SimpleDateFormat.java7
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