From ef7cf2c6506ce860d54eb7abf71cdffbfa6437d7 Mon Sep 17 00:00:00 2001 From: Juergen Hoeller Date: Wed, 13 May 2015 14:58:02 +0200 Subject: [PATCH] Revised description of event source parameter Issue: SPR-13021 --- .../java/org/springframework/context/ApplicationEvent.java | 4 ++-- .../org/springframework/context/PayloadApplicationEvent.java | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/spring-context/src/main/java/org/springframework/context/ApplicationEvent.java b/spring-context/src/main/java/org/springframework/context/ApplicationEvent.java index e20d12cd85..30c1f9969b 100644 --- a/spring-context/src/main/java/org/springframework/context/ApplicationEvent.java +++ b/spring-context/src/main/java/org/springframework/context/ApplicationEvent.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); diff --git a/spring-context/src/main/java/org/springframework/context/PayloadApplicationEvent.java b/spring-context/src/main/java/org/springframework/context/PayloadApplicationEvent.java index 22ba29b255..29e044adff 100644 --- a/spring-context/src/main/java/org/springframework/context/PayloadApplicationEvent.java +++ b/spring-context/src/main/java/org/springframework/context/PayloadApplicationEvent.java @@ -35,8 +35,8 @@ public class PayloadApplicationEvent 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);