aboutsummaryrefslogtreecommitdiff
path: root/libjava/java/nio
diff options
context:
space:
mode:
authorMichael Koch <konqueror@gmx.de>2005-02-22 13:02:11 +0000
committerMichael Koch <mkoch@gcc.gnu.org>2005-02-22 13:02:11 +0000
commita010a29561f5e2db51ccda2946f0112c49523972 (patch)
treea6292178d291461e4d7cdeef5f47fcf2be86c28c /libjava/java/nio
parent44f366767942717c2378f6e37415e32b6b52204c (diff)
downloadgcc-a010a29561f5e2db51ccda2946f0112c49523972.zip
gcc-a010a29561f5e2db51ccda2946f0112c49523972.tar.gz
gcc-a010a29561f5e2db51ccda2946f0112c49523972.tar.bz2
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
Diffstat (limited to 'libjava/java/nio')
-rw-r--r--libjava/java/nio/DirectByteBufferImpl.java25
1 files changed, 13 insertions, 12 deletions
diff --git a/libjava/java/nio/DirectByteBufferImpl.java b/libjava/java/nio/DirectByteBufferImpl.java
index d287164..8327938 100644
--- a/libjava/java/nio/DirectByteBufferImpl.java
+++ b/libjava/java/nio/DirectByteBufferImpl.java
@@ -42,18 +42,19 @@ import gnu.gcj.RawData;
abstract class DirectByteBufferImpl extends ByteBuffer
{
- /** The owner is used to keep alive the object that actually owns the
- * memory. There are three possibilities:
- * 1) owner == this: We allocated the memory and we should free it,
- * but *only* in finalize (if we've been sliced
- * other objects will also have access to the
- * memory).
- * 2) owner == null: The byte buffer was created thru
- * JNI.NewDirectByteBuffer. The JNI code is
- * responsible for freeing the memory.
- * 3) owner == some other object: The other object allocated the
- * memory and should free it.
- */
+ /**
+ * The owner is used to keep alive the object that actually owns the
+ * memory. There are three possibilities:
+ * 1) owner == this: We allocated the memory and we should free it,
+ * but *only* in finalize (if we've been sliced
+ * other objects will also have access to the
+ * memory).
+ * 2) owner == null: The byte buffer was created thru
+ * JNI.NewDirectByteBuffer. The JNI code is
+ * responsible for freeing the memory.
+ * 3) owner == some other object: The other object allocated the
+ * memory and should free it.
+ */
private final Object owner;
static final class ReadOnly extends DirectByteBufferImpl