From 9c826022f9acded6ebf851555b7202f74eddb31d Mon Sep 17 00:00:00 2001 From: Michael Koch Date: Fri, 4 Oct 2002 08:48:03 +0000 Subject: [PATCH] BeanContextChildSupport.java: Added serialVersionUID. 2002-10-04 Michael Koch * java/beans/beancontext/BeanContextChildSupport.java: Added serialVersionUID. * java/text/Collator.java: (compare): Made documentation HTML-aware. * javax/naming/BinaryRefAddr.java: Added serialVersionUID. * javax/naming/Name.java: Added serialVersionUID. From-SVN: r57813 --- libjava/ChangeLog | 8 ++++++++ .../java/beans/beancontext/BeanContextChildSupport.java | 6 +++++- libjava/java/text/Collator.java | 8 ++++---- libjava/javax/naming/BinaryRefAddr.java | 1 + libjava/javax/naming/Name.java | 2 ++ 5 files changed, 20 insertions(+), 5 deletions(-) diff --git a/libjava/ChangeLog b/libjava/ChangeLog index 3590467f9ab2..d5108ada8b4b 100644 --- a/libjava/ChangeLog +++ b/libjava/ChangeLog @@ -1,3 +1,11 @@ +2002-10-04 Michael Koch + + * java/beans/beancontext/BeanContextChildSupport.java: + Added serialVersionUID. + * java/text/Collator.java: (compare): Made documentation HTML-aware. + * javax/naming/BinaryRefAddr.java: Added serialVersionUID. + * javax/naming/Name.java: Added serialVersionUID. + 2002-10-03 Adam Megacz * natNetworkInterface.cc (getRealNetworkInterfaces): ifdef out diff --git a/libjava/java/beans/beancontext/BeanContextChildSupport.java b/libjava/java/beans/beancontext/BeanContextChildSupport.java index 84373acf5fb1..270854b25762 100644 --- a/libjava/java/beans/beancontext/BeanContextChildSupport.java +++ b/libjava/java/beans/beancontext/BeanContextChildSupport.java @@ -60,7 +60,11 @@ import java.io.Serializable; * @see java.beans.beancontext.BeanContextChild */ -public class BeanContextChildSupport implements BeanContextChild, BeanContextServicesListener, Serializable { +public class BeanContextChildSupport + implements BeanContextChild, BeanContextServicesListener, Serializable +{ + static final long serialVersionUID = 6328947014421475877L; + /** * The peer on which to perform set actions. * This is here so that this class can be used as a peer. diff --git a/libjava/java/text/Collator.java b/libjava/java/text/Collator.java index b07045417c1a..bb5a3449139e 100644 --- a/libjava/java/text/Collator.java +++ b/libjava/java/text/Collator.java @@ -153,8 +153,8 @@ public abstract class Collator implements Comparator, Cloneable * @param str1 The first object to compare * @param str2 The second object to compare * - * @return A negative integer if str1 < str2, 0 if str1 == str2, or - * a positive integer if str1 > str2. + * @return A negative integer if str1 < str2, 0 if str1 == str2, or + * a positive integer if str1 > str2. */ public abstract int compare (String source, String target); @@ -167,8 +167,8 @@ public abstract class Collator implements Comparator, Cloneable * @param obj1 The first object to compare * @param obj2 The second object to compare * - * @return A negative integer if obj1 < obj2, 0 if obj1 == obj2, or - * a positive integer if obj1 > obj2. + * @return A negative integer if obj1 < obj2, 0 if obj1 == obj2, or + * a positive integer if obj1 > obj2. * * @exception ClassCastException If the arguments are not instances * of String. diff --git a/libjava/javax/naming/BinaryRefAddr.java b/libjava/javax/naming/BinaryRefAddr.java index d0a3a030f869..6942aec3ed0b 100644 --- a/libjava/javax/naming/BinaryRefAddr.java +++ b/libjava/javax/naming/BinaryRefAddr.java @@ -50,6 +50,7 @@ import java.util.Arrays; */ public class BinaryRefAddr extends RefAddr { + static final long serialVersionUID = -3415254970957330361L; /** * The possibly null content of this RefAddr. diff --git a/libjava/javax/naming/Name.java b/libjava/javax/naming/Name.java index 7c3e6d7ef8ef..4a10f321f9c3 100644 --- a/libjava/javax/naming/Name.java +++ b/libjava/javax/naming/Name.java @@ -62,6 +62,8 @@ import java.io.Serializable; */ public interface Name extends Cloneable, Serializable { + static final long serialVersionUID = -3617482732056931635L; + /** * Returns the number of components of this Name. * The returned number can be zero.