Revised description of event source parameter

Issue: SPR-13021
master
Juergen Hoeller 9 years ago
parent 02d28ae9ee
commit ef7cf2c650
  1. 4
      spring-context/src/main/java/org/springframework/context/ApplicationEvent.java
  2. 4
      spring-context/src/main/java/org/springframework/context/PayloadApplicationEvent.java

@ -1,5 +1,5 @@
/*
* Copyright 2002-2012 the original author or authors.
* Copyright 2002-2015 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@ -36,7 +36,7 @@ public abstract class ApplicationEvent extends EventObject {
/**
* Create a new ApplicationEvent.
* @param source the component that published the event (never {@code null})
* @param source the object on which the event initially occurred (never {@code null})
*/
public ApplicationEvent(Object source) {
super(source);

@ -35,8 +35,8 @@ public class PayloadApplicationEvent<T> extends ApplicationEvent {
/**
* Create a new PayloadApplicationEvent.
* @param source the component that published the event (never {@code null})
* @param payload the payload object
* @param source the object on which the event initially occurred (never {@code null})
* @param payload the payload object (never {@code null})
*/
public PayloadApplicationEvent(Object source, T payload) {
super(source);

Loading…
Cancel
Save