/[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.9 by ericb, Fri Feb 22 04:22:21 2002 UTC revision 1.10 by ericb, Sat Mar 30 12:02:29 2002 UTC
# Line 1  Line 1 
1  /* EventObject.java -- Represent events fired by objects  /* EventObject.java -- represents an event on an object
2     Copyright (C) 1999, 2000, 2002 Free Software Foundation, Inc.     Copyright (C) 1999, 2000, 2002 Free Software Foundation, Inc.
3    
4  This file is part of GNU Classpath.  This file is part of GNU Classpath.
# Line 90  public class EventObject implements Seri Line 90  public class EventObject implements Seri
90    /**    /**
91     * Converts the event to a String. The format is not specified, but by     * Converts the event to a String. The format is not specified, but by
92     * observation, the JDK uses:     * observation, the JDK uses:
93     * <code>getClass() + "[source=" + source + "]";</code>.     * <code>getClass().getName() + "[source=" + source + "]";</code>.
94     *     *
95     * @return String representation of the Event     * @return String representation of the Event
96     */     */
97    public String toString()    public String toString()
98    {    {
99      return getClass() + "[source=" + source + "]";      return getClass().getName() + "[source=" + source + "]";
100    }    }
101  }  } // class EventObject

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

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