BeanContextEvent.java: Reformated.

2003-03-24  Michael Koch  <konqueror@gmx.de>

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

From-SVN: r64778
This commit is contained in:
Michael Koch 2003-03-24 08:24:29 +00:00 committed by Michael Koch
parent b099daeb77
commit 99010ccbb8
2 changed files with 59 additions and 47 deletions

View 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> 2003-03-23 Eric Blake <ebb9@email.byu.edu>
* java/lang/natStringBuffer.cc (regionMatches): New function. * java/lang/natStringBuffer.cc (regionMatches): New function.

View file

@ -44,11 +44,13 @@ import java.util.EventObject;
* Generic superclass for events fired by <code>BeanContext</code>s. * Generic superclass for events fired by <code>BeanContext</code>s.
* *
* @author John Keiser * @author John Keiser
* @since JDK1.2 * @since 1.2
*/ */
public abstract class BeanContextEvent extends EventObject public abstract class BeanContextEvent extends EventObject
{ {
private static final long serialVersionUID = 7267998073569045052L;
/** /**
* The <code>BeanContext</code> that most recently passed this * The <code>BeanContext</code> that most recently passed this
* event on. * event on.
@ -62,7 +64,8 @@ public abstract class BeanContextEvent extends EventObject
* *
* @param source the source of the event. * @param source the source of the event.
*/ */
protected BeanContextEvent(BeanContext source) { protected BeanContextEvent(BeanContext source)
{
super(source); super(source);
} }
@ -70,7 +73,8 @@ public abstract class BeanContextEvent extends EventObject
* Get the <code>BeanContext</code> that originated this event. * Get the <code>BeanContext</code> that originated this event.
* @return the originator of this event. * @return the originator of this event.
*/ */
public BeanContext getBeanContext() { public BeanContext getBeanContext()
{
return (BeanContext)getSource(); return (BeanContext)getSource();
} }
@ -81,7 +85,8 @@ public abstract class BeanContextEvent extends EventObject
* *
* @return the most recent propagator of this event. * @return the most recent propagator of this event.
*/ */
public BeanContext getPropagatedFrom() { public BeanContext getPropagatedFrom()
{
return propagatedFrom; return propagatedFrom;
} }
@ -89,7 +94,8 @@ public abstract class BeanContextEvent extends EventObject
* Tell whether this event has been propagated. * Tell whether this event has been propagated.
* @return <code>true</code> iff <code>getPropagatedFrom() != null</code>. * @return <code>true</code> iff <code>getPropagatedFrom() != null</code>.
*/ */
public boolean isPropagated() { public boolean isPropagated()
{
return propagatedFrom != null; return propagatedFrom != null;
} }
@ -97,7 +103,8 @@ public abstract class BeanContextEvent extends EventObject
* Set the most recent propagator of this event. * Set the most recent propagator of this event.
* @param propagator the most recent propagator of this event. * @param propagator the most recent propagator of this event.
*/ */
public void setPropagatedFrom(BeanContext propagator) { public void setPropagatedFrom(BeanContext propagator)
{
propagatedFrom = propagator; propagatedFrom = propagator;
} }
} }