mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 07:14:30 +02:00
8190382: fix small typographic errors in comments
Reviewed-by: martin
This commit is contained in:
parent
b366f4f349
commit
7f79fffba6
28 changed files with 34 additions and 34 deletions
|
@ -43,13 +43,13 @@ public class EventObject implements java.io.Serializable {
|
|||
/**
|
||||
* The object on which the Event initially occurred.
|
||||
*/
|
||||
protected transient Object source;
|
||||
protected transient Object source;
|
||||
|
||||
/**
|
||||
* Constructs a prototypical Event.
|
||||
*
|
||||
* @param source The object on which the Event initially occurred.
|
||||
* @exception IllegalArgumentException if source is null.
|
||||
* @param source the object on which the Event initially occurred
|
||||
* @throws IllegalArgumentException if source is null
|
||||
*/
|
||||
public EventObject(Object source) {
|
||||
if (source == null)
|
||||
|
@ -61,7 +61,7 @@ public class EventObject implements java.io.Serializable {
|
|||
/**
|
||||
* The object on which the Event initially occurred.
|
||||
*
|
||||
* @return The object on which the Event initially occurred.
|
||||
* @return the object on which the Event initially occurred
|
||||
*/
|
||||
public Object getSource() {
|
||||
return source;
|
||||
|
@ -70,7 +70,7 @@ public class EventObject implements java.io.Serializable {
|
|||
/**
|
||||
* Returns a String representation of this EventObject.
|
||||
*
|
||||
* @return A a String representation of this EventObject.
|
||||
* @return a String representation of this EventObject
|
||||
*/
|
||||
public String toString() {
|
||||
return getClass().getName() + "[source=" + source + "]";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue