/[classpath]/classpath/java/util/EventObject.java
ViewVC logotype

Diff of /classpath/java/util/EventObject.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.8 by ericb, Fri Feb 22 02:09:40 2002 UTC revision 1.9 by ericb, Fri Feb 22 04:22:21 2002 UTC
# Line 70  public class EventObject implements Seri Line 70  public class EventObject implements Seri
70     */     */
71    public EventObject(Object source)    public EventObject(Object source)
72    {    {
73        // This check for null is stupid, if you ask me, since source is
74        // protected and non-final, so a subclass can set it to null later on.
75        if (source == null)
76          throw new IllegalArgumentException();
77      this.source = source;      this.source = source;
78    }    }
79    

Legend:
Removed from v.1.8  
changed lines
  Added in v.1.9

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26