]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
BeanContextEvent.java: Reformated.
authorMichael Koch <konqueror@gmx.de>
Mon, 24 Mar 2003 08:24:29 +0000 (08:24 +0000)
committerMichael Koch <mkoch@gcc.gnu.org>
Mon, 24 Mar 2003 08:24:29 +0000 (08:24 +0000)
2003-03-24  Michael Koch  <konqueror@gmx.de>

* java/beans/beancontext/BeanContextEvent.java:
Reformated.

From-SVN: r64778

libjava/ChangeLog
libjava/java/beans/beancontext/BeanContextEvent.java

index 13649bd6ca96cfe2fb3fb098426afb909a01ec64..a98a37cabae4a1945dfc087d5a6b18172bf66f83 100644 (file)
@@ -1,3 +1,8 @@
+2003-03-24  Michael Koch  <konqueror@gmx.de>
+
+       * java/beans/beancontext/BeanContextEvent.java:
+       Reformated.
+
 2003-03-23  Eric Blake  <ebb9@email.byu.edu>
 
        * java/lang/natStringBuffer.cc (regionMatches): New function.
index f93d3fe148f47823438ae3ff1e10090326013a85..1fa68292b1f4c619e1fc66c1e492a5426df6a6bb 100644 (file)
@@ -44,60 +44,67 @@ import java.util.EventObject;
  * Generic superclass for events fired by <code>BeanContext</code>s.
  *
  * @author John Keiser
- * @since JDK1.2
+ * @since 1.2
  */
 
 public abstract class BeanContextEvent extends EventObject
 {
-       /**
-        * The <code>BeanContext</code> that most recently passed this
-        * event on.
-        */
-       protected BeanContext propagatedFrom;
+  private static final long serialVersionUID = 7267998073569045052L;
+  
+  /**
+   * The <code>BeanContext</code> that most recently passed this
+   * event on.
+   */
+  protected BeanContext propagatedFrom;
 
-       /**
-        * Create a new event, from the specified <code>BeanContext</code>.
-        * <code>propagatedFrom</code> will be initialized to
-        * <code>null</code>.
-        *
-        * @param source the source of the event.
-        */
-       protected BeanContextEvent(BeanContext source) {
-               super(source);
-       }
+  /**
+   * Create a new event, from the specified <code>BeanContext</code>.
+   * <code>propagatedFrom</code> will be initialized to
+   * <code>null</code>.
+   *
+   * @param source the source of the event.
+   */
+  protected BeanContextEvent(BeanContext source)
+  {
+    super(source);
+  }
 
-       /**
-        * Get the <code>BeanContext</code> that originated this event.
-        * @return the originator of this event.
-        */
-       public BeanContext getBeanContext() {
-               return (BeanContext)getSource();
-       }
+  /**
+   * Get the <code>BeanContext</code> that originated this event.
+   * @return the originator of this event.
+   */
+  public BeanContext getBeanContext()
+  {
+    return (BeanContext)getSource();
+  }
 
-       /**
-        * Get the most recent propagator of this event.
-        * If this value is <code>null</code>, you have received the event
-        * straight from the source.
-        *
-        * @return the most recent propagator of this event.
-        */
-       public BeanContext getPropagatedFrom() {
-               return propagatedFrom;
-       }
+  /**
+   * Get the most recent propagator of this event.
+   * If this value is <code>null</code>, you have received the event
+   * straight from the source.
+   *
+   * @return the most recent propagator of this event.
+   */
+  public BeanContext getPropagatedFrom()
+  {
+    return propagatedFrom;
+  }
 
-       /**
-        * Tell whether this event has been propagated.
-        * @return <code>true</code> iff <code>getPropagatedFrom() != null</code>.
-        */
-       public boolean isPropagated() {
-               return propagatedFrom != null;
-       }
+  /**
+   * Tell whether this event has been propagated.
+   * @return <code>true</code> iff <code>getPropagatedFrom() != null</code>.
+   */
+  public boolean isPropagated()
+  {
+    return propagatedFrom != null;
+  }
 
-       /**
-        * Set the most recent propagator of this event.
-        * @param propagator the most recent propagator of this event.
-        */
-       public void setPropagatedFrom(BeanContext propagator) {
-               propagatedFrom = propagator;
-       }
+  /**
+   * Set the most recent propagator of this event.
+   * @param propagator the most recent propagator of this event.
+   */
+  public void setPropagatedFrom(BeanContext propagator)
+  {
+    propagatedFrom = propagator;
+  }
 }