Commit a010a295 by Michael Koch Committed by Michael Koch

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.

From-SVN: r95392
parent 44f36676
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.
2005-02-22 Roman Kennke <roman@ontographics.com> 2005-02-22 Roman Kennke <roman@ontographics.com>
* javax/swing/plaf/basic/BasicLookAndFeel.java * javax/swing/plaf/basic/BasicLookAndFeel.java
......
...@@ -42,18 +42,19 @@ import gnu.gcj.RawData; ...@@ -42,18 +42,19 @@ import gnu.gcj.RawData;
abstract class DirectByteBufferImpl extends ByteBuffer abstract class DirectByteBufferImpl extends ByteBuffer
{ {
/** The owner is used to keep alive the object that actually owns the /**
* memory. There are three possibilities: * The owner is used to keep alive the object that actually owns the
* 1) owner == this: We allocated the memory and we should free it, * memory. There are three possibilities:
* but *only* in finalize (if we've been sliced * 1) owner == this: We allocated the memory and we should free it,
* other objects will also have access to the * but *only* in finalize (if we've been sliced
* memory). * other objects will also have access to the
* 2) owner == null: The byte buffer was created thru * memory).
* JNI.NewDirectByteBuffer. The JNI code is * 2) owner == null: The byte buffer was created thru
* responsible for freeing the memory. * JNI.NewDirectByteBuffer. The JNI code is
* 3) owner == some other object: The other object allocated the * responsible for freeing the memory.
* memory and should free it. * 3) owner == some other object: The other object allocated the
*/ * memory and should free it.
*/
private final Object owner; private final Object owner;
static final class ReadOnly extends DirectByteBufferImpl static final class ReadOnly extends DirectByteBufferImpl
......
...@@ -494,7 +494,7 @@ public abstract class DateFormat extends Format implements Cloneable ...@@ -494,7 +494,7 @@ public abstract class DateFormat extends Format implements Cloneable
* This method returns a list of available locales supported by this * This method returns a list of available locales supported by this
* class. * class.
*/ */
public static Locale[] getAvailableLocales () public static Locale[] getAvailableLocales()
{ {
// FIXME // FIXME
Locale[] l = new Locale[1]; Locale[] l = new Locale[1];
......
...@@ -45,8 +45,8 @@ import gnu.java.text.FormatBuffer; ...@@ -45,8 +45,8 @@ import gnu.java.text.FormatBuffer;
import gnu.java.text.FormatCharacterIterator; import gnu.java.text.FormatCharacterIterator;
import gnu.java.text.StringFormatBuffer; import gnu.java.text.StringFormatBuffer;
import java.io.InvalidObjectException;
import java.io.IOException; import java.io.IOException;
import java.io.InvalidObjectException;
import java.io.ObjectInputStream; import java.io.ObjectInputStream;
import java.util.ArrayList; import java.util.ArrayList;
import java.util.Calendar; import java.util.Calendar;
...@@ -97,7 +97,8 @@ public class SimpleDateFormat extends DateFormat ...@@ -97,7 +97,8 @@ public class SimpleDateFormat extends DateFormat
* @param s the size of the field. * @param s the size of the field.
* @param c the character used. * @param c the character used.
*/ */
public CompiledField(int f, int s, char c) { public CompiledField(int f, int s, char c)
{
field = f; field = f;
size = s; size = s;
character = c; character = c;
...@@ -169,7 +170,7 @@ public class SimpleDateFormat extends DateFormat ...@@ -169,7 +170,7 @@ public class SimpleDateFormat extends DateFormat
* @see DateFormatSymbols * @see DateFormatSymbols
* @serial The localisation data. May not be null. * @serial The localisation data. May not be null.
*/ */
private DateFormatSymbols formatData; // formatData private DateFormatSymbols formatData;
/** /**
* The date representing the start of the century * The date representing the start of the century
......
/* Calendar.java -- /* Calendar.java --
Copyright (C) 1998, 1999, 2000, 2001, 2002, 2004 Free Software Foundation, Inc. Copyright (C) 1998, 1999, 2000, 2001, 2002, 2004, 2005 Free Software Foundation, Inc.
This file is part of GNU Classpath. This file is part of GNU Classpath.
...@@ -398,10 +398,10 @@ public abstract class Calendar implements Serializable, Cloneable ...@@ -398,10 +398,10 @@ public abstract class Calendar implements Serializable, Cloneable
* The version of the serialized data on the stream. * The version of the serialized data on the stream.
* <dl><dt>0 or not present</dt> * <dl><dt>0 or not present</dt>
* <dd> JDK 1.1.5 or later.</dd> * <dd> JDK 1.1.5 or later.</dd>
* <dl><dt>1</dt> * <dt>1</dt>
* <dd>JDK 1.1.6 or later. This always writes a correct `time' value * <dd>JDK 1.1.6 or later. This always writes a correct `time' value
* on the stream, as well as the other fields, to be compatible with * on the stream, as well as the other fields, to be compatible with
* earlier versions</dd> * earlier versions</dd></dl>
* @since JDK1.1.6 * @since JDK1.1.6
* @serial * @serial
*/ */
......
/* java.util.SimpleTimeZone /* java.util.SimpleTimeZone
Copyright (C) 1998, 1999, 2000, 2003, 2004 Free Software Foundation, Inc. Copyright (C) 1998, 1999, 2000, 2003, 2004, 2005 Free Software Foundation, Inc.
This file is part of GNU Classpath. This file is part of GNU Classpath.
...@@ -71,7 +71,7 @@ public class SimpleTimeZone extends TimeZone ...@@ -71,7 +71,7 @@ public class SimpleTimeZone extends TimeZone
/** /**
* The daylight savings offset. This is a positive offset in * The daylight savings offset. This is a positive offset in
* milliseconds with respect to standard time. Typically this * milliseconds with respect to standard time. Typically this
* is one hour, but for some time zones this may be half an our. * is one hour, but for some time zones this may be half an hour.
* @serial * @serial
* @since JDK1.1.4 * @since JDK1.1.4
*/ */
...@@ -228,6 +228,7 @@ public class SimpleTimeZone extends TimeZone ...@@ -228,6 +228,7 @@ public class SimpleTimeZone extends TimeZone
* startMode, endMode and dstSavings. And there is a optional section * startMode, endMode and dstSavings. And there is a optional section
* as described in writeObject. * as described in writeObject.
* </dd> * </dd>
* </dl>
* *
* XXX - JDK 1.2 Beta 4 docu states 1.1.4, but my 1.1.5 has the old * XXX - JDK 1.2 Beta 4 docu states 1.1.4, but my 1.1.5 has the old
* version. * version.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment