aboutsummaryrefslogtreecommitdiff
path: root/libjava/java
diff options
context:
space:
mode:
Diffstat (limited to 'libjava/java')
-rw-r--r--libjava/java/lang/Comparable.java19
-rw-r--r--libjava/java/net/Inet4Address.java3
-rw-r--r--libjava/java/security/ProtectionDomain.java2
-rw-r--r--libjava/java/text/Format.java3
-rw-r--r--libjava/java/util/Arrays.java17
-rw-r--r--libjava/java/util/PropertyPermissionCollection.java12
6 files changed, 33 insertions, 23 deletions
diff --git a/libjava/java/lang/Comparable.java b/libjava/java/lang/Comparable.java
index 96d4d6a..bfe72db 100644
--- a/libjava/java/lang/Comparable.java
+++ b/libjava/java/lang/Comparable.java
@@ -52,18 +52,19 @@ package java.lang;
*
* <p>Lists, arrays, and sets of objects that implement this interface can
* be sorted automatically, without the need for an explicit
- * {@link Comparator}. Note that <code>e1.compareTo(null)</code> should
- * throw an Exception; as should comparison between incompatible classes.
+ * {@link java.util.Comparator}. Note that <code>e1.compareTo(null)</code>
+ * should throw an Exception; as should comparison between incompatible
+ * classes.
*
* @author Geoff Berry
* @author Warren Levy <warrenl@cygnus.com>
- * @see Comparator
- * @see Collections#sort(List)
- * @see Arrays#sort(Object[])
- * @see SortedSet
- * @see SortedMap
- * @see TreeSet
- * @see TreeMap
+ * @see java.util.Comparator
+ * @see java.util.Collections#sort(java.util.List)
+ * @see java.util.Arrays#sort(Object[])
+ * @see java.util.SortedSet
+ * @see java.util.SortedMap
+ * @see java.util.TreeSet
+ * @see java.util.TreeMap
* @since 1.2
* @status updated to 1.4
*/
diff --git a/libjava/java/net/Inet4Address.java b/libjava/java/net/Inet4Address.java
index 0a583ef..25629c8 100644
--- a/libjava/java/net/Inet4Address.java
+++ b/libjava/java/net/Inet4Address.java
@@ -55,6 +55,9 @@ import java.util.Arrays;
*/
public final class Inet4Address extends InetAddress
{
+ /**
+ * For compatability with Sun's JDK 1.4.2 rev. 5
+ */
static final long serialVersionUID = 3286316764910316507L;
/**
diff --git a/libjava/java/security/ProtectionDomain.java b/libjava/java/security/ProtectionDomain.java
index 21d9b6d..a6db9cd 100644
--- a/libjava/java/security/ProtectionDomain.java
+++ b/libjava/java/security/ProtectionDomain.java
@@ -1,5 +1,5 @@
/* ProtectionDomain.java -- A security domain
- Copyright (C) 1998, 2003, Free Software Foundation, Inc.
+ Copyright (C) 1998, 2003, 2004 Free Software Foundation, Inc.
This file is part of GNU Classpath.
diff --git a/libjava/java/text/Format.java b/libjava/java/text/Format.java
index 7bc389e..6f15dc0 100644
--- a/libjava/java/text/Format.java
+++ b/libjava/java/text/Format.java
@@ -60,6 +60,9 @@ import java.io.Serializable;
*/
public abstract class Format implements Serializable, Cloneable
{
+ /**
+ * For compatability with Sun's JDK 1.4.2 rev. 5
+ */
static final long serialVersionUID = -299282585814624189L;
public static class Field extends AttributedCharacterIterator.Attribute
diff --git a/libjava/java/util/Arrays.java b/libjava/java/util/Arrays.java
index e34901a..f2337ae 100644
--- a/libjava/java/util/Arrays.java
+++ b/libjava/java/util/Arrays.java
@@ -1021,7 +1021,7 @@ public class Arrays
/**
* Performs a recursive modified quicksort.
*
- * @param a the array to sort
+ * @param array the array to sort
* @param from the start index (inclusive)
* @param count the number of elements to sort
*/
@@ -1185,7 +1185,7 @@ public class Arrays
/**
* Performs a recursive modified quicksort.
*
- * @param a the array to sort
+ * @param array the array to sort
* @param from the start index (inclusive)
* @param count the number of elements to sort
*/
@@ -1349,7 +1349,7 @@ public class Arrays
/**
* Performs a recursive modified quicksort.
*
- * @param a the array to sort
+ * @param array the array to sort
* @param from the start index (inclusive)
* @param count the number of elements to sort
*/
@@ -1525,7 +1525,7 @@ public class Arrays
/**
* Performs a recursive modified quicksort.
*
- * @param a the array to sort
+ * @param array the array to sort
* @param from the start index (inclusive)
* @param count the number of elements to sort
*/
@@ -1701,7 +1701,7 @@ public class Arrays
/**
* Performs a recursive modified quicksort.
*
- * @param a the array to sort
+ * @param array the array to sort
* @param from the start index (inclusive)
* @param count the number of elements to sort
*/
@@ -1867,7 +1867,7 @@ public class Arrays
/**
* Performs a recursive modified quicksort.
*
- * @param a the array to sort
+ * @param array the array to sort
* @param from the start index (inclusive)
* @param count the number of elements to sort
*/
@@ -2037,7 +2037,7 @@ public class Arrays
/**
* Performs a recursive modified quicksort.
*
- * @param a the array to sort
+ * @param array the array to sort
* @param from the start index (inclusive)
* @param count the number of elements to sort
*/
@@ -2418,6 +2418,7 @@ public class Arrays
* with the supplied element.
*
* @param index The index at which to place the new object.
+ * @param element The new object.
* @return The object replaced by this operation.
*/
public Object set(int index, Object element)
@@ -2489,7 +2490,7 @@ public class Arrays
* is shrunk or enlarged to the size of the
* internal array, and filled with its objects.
*
- * @param The array to fill with the objects in this list.
+ * @param array The array to fill with the objects in this list.
* @return The array containing the objects in this list,
* which may or may not be == to array.
*/
diff --git a/libjava/java/util/PropertyPermissionCollection.java b/libjava/java/util/PropertyPermissionCollection.java
index 8f9c71d..7611034 100644
--- a/libjava/java/util/PropertyPermissionCollection.java
+++ b/libjava/java/util/PropertyPermissionCollection.java
@@ -1,5 +1,5 @@
/* PropertyPermissionCollection.java -- a collection of PropertyPermissions
- Copyright (C) 2002 Free Software Foundation, Inc.
+ Copyright (C) 2002, 2004 Free Software Foundation, Inc.
This file is part of GNU Classpath.
@@ -103,10 +103,12 @@ class PropertyPermissionCollection extends PermissionCollection
/**
* Returns true if this collection implies the given permission. This even
* returns true for this case:
- * <p>
-<pre>collection.add(new PropertyPermission("a.*", "read"));
-collection.add(new PropertyPermission("a.b.*", "write"));
-collection.implies(new PropertyPermission("a.b.c", "read,write"));</pre>
+ *
+ * <pre>
+ * collection.add(new PropertyPermission("a.*", "read"));
+ * collection.add(new PropertyPermission("a.b.*", "write"));
+ * collection.implies(new PropertyPermission("a.b.c", "read,write"));
+ * </pre>
*
* @param permission the permission to check
* @return true if it is implied by this