Skip to content

Commit ef7cf2c

Browse files
committed
Revised description of event source parameter
Issue: SPR-13021
1 parent 02d28ae commit ef7cf2c

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

spring-context/src/main/java/org/springframework/context/ApplicationEvent.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2002-2012 the original author or authors.
2+
* Copyright 2002-2015 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -36,7 +36,7 @@ public abstract class ApplicationEvent extends EventObject {
3636

3737
/**
3838
* Create a new ApplicationEvent.
39-
* @param source the component that published the event (never {@code null})
39+
* @param source the object on which the event initially occurred (never {@code null})
4040
*/
4141
public ApplicationEvent(Object source) {
4242
super(source);

spring-context/src/main/java/org/springframework/context/PayloadApplicationEvent.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,8 @@ public class PayloadApplicationEvent<T> extends ApplicationEvent {
3535

3636
/**
3737
* Create a new PayloadApplicationEvent.
38-
* @param source the component that published the event (never {@code null})
39-
* @param payload the payload object
38+
* @param source the object on which the event initially occurred (never {@code null})
39+
* @param payload the payload object (never {@code null})
4040
*/
4141
public PayloadApplicationEvent(Object source, T payload) {
4242
super(source);

0 commit comments

Comments
 (0)