diff options
author | Warren Levy <warrenl@cygnus.com> | 2000-06-27 05:10:03 +0000 |
---|---|---|
committer | Warren Levy <warrenl@gcc.gnu.org> | 2000-06-27 05:10:03 +0000 |
commit | 7b245d2461191bc67cb3dc22a5006e5478a5552b (patch) | |
tree | 489d75420cadf0ca7a7d52253e3912d484dfc0a3 /libjava/java/beans/PropertyChangeEvent.java | |
parent | cf1748bfce3d254bfd8bad027ab55e25793ce2fc (diff) | |
download | gcc-7b245d2461191bc67cb3dc22a5006e5478a5552b.zip gcc-7b245d2461191bc67cb3dc22a5006e5478a5552b.tar.gz gcc-7b245d2461191bc67cb3dc22a5006e5478a5552b.tar.bz2 |
PropertyChangeEvent.java (oldVal): Renamed to oldValue.
* java/beans/PropertyChangeEvent.java (oldVal): Renamed to oldValue.
(newVal): Renamed to newValue.
* java/beans/PropertyVetoException.java (changeEvent): Renamed to evt.
* java/beans/beancontext/BeanContextServiceRevokedEvent.java
(revokeNow): Renamed to invalidateRefs.
* java/io/OptionalDataException.java: Updated FIXME.
(eof): New placeholder field.
(length); Ditto.
* java/io/WriteAbortedException.java (message): Made transient.
* java/lang/ClassNotFoundException.java: Updated comments for JDK 1.2.
* java/lang/Throwable.java (stackTrace): Made transient.
* java/net/InetAddress.java: Made Serializable.
* java/security/KeyPair.java: Made Serializable.
* java/security/Provider.java: Replaced with Classpath version that
implements serialization and proper methods.
* java/text/ChoiceFormat.java (strings): Renamed to choiceFormats.
(limits): Renamed to choiceLimits.
Serialization changes per:
http://java.sun.com/products/jdk/1.2/docs/api/serialized-form.html
From-SVN: r34726
Diffstat (limited to 'libjava/java/beans/PropertyChangeEvent.java')
-rw-r--r-- | libjava/java/beans/PropertyChangeEvent.java | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/libjava/java/beans/PropertyChangeEvent.java b/libjava/java/beans/PropertyChangeEvent.java index f07577c..f48d5fe 100644 --- a/libjava/java/beans/PropertyChangeEvent.java +++ b/libjava/java/beans/PropertyChangeEvent.java @@ -1,5 +1,5 @@ /* java.beans.PropertyChangeEvent - Copyright (C) 1998 Free Software Foundation, Inc. + Copyright (C) 1998, 2000 Free Software Foundation, Inc. This file is part of GNU Classpath. @@ -50,8 +50,8 @@ package java.beans; public class PropertyChangeEvent extends java.util.EventObject { String propertyName; - Object oldVal; - Object newVal; + Object oldValue; + Object newValue; Object propagationId; /** Create a new PropertyChangeEvent. Remember that if @@ -60,14 +60,14 @@ public class PropertyChangeEvent extends java.util.EventObject { ** from the old PropertyChangeEvent. ** @param source the Bean containing the property. ** @param propertyName the property's name. - ** @param oldVal the old value of the property. - ** @param newVal the new value of the property. + ** @param oldValue the old value of the property. + ** @param newValue the new value of the property. **/ public PropertyChangeEvent(Object source, String propertyName, Object oldVal, Object newVal) { super(source); this.propertyName = propertyName; - this.oldVal = oldVal; - this.newVal = newVal; + oldValue = oldVal; + newValue = newVal; } /** Get the property name. @@ -81,14 +81,14 @@ public class PropertyChangeEvent extends java.util.EventObject { ** @return the property's old value. **/ public Object getOldValue() { - return oldVal; + return oldValue; } /** Get the property's new value. ** @return the property's new value. **/ public Object getNewValue() { - return newVal; + return newValue; } /** Set the propagation ID. This is a way for the event |