Browse Source

Correct and consistent event class names in constructor javadoc

Closes gh-33032
pull/33350/head
Juergen Hoeller 2 years ago
parent
commit
e79a9a5bff
  1. 4
      spring-context/src/main/java/org/springframework/context/event/ApplicationContextEvent.java
  2. 4
      spring-context/src/main/java/org/springframework/context/event/ContextClosedEvent.java
  3. 4
      spring-context/src/main/java/org/springframework/context/event/ContextRefreshedEvent.java
  4. 4
      spring-context/src/main/java/org/springframework/context/event/ContextStartedEvent.java
  5. 4
      spring-context/src/main/java/org/springframework/context/event/ContextStoppedEvent.java

4
spring-context/src/main/java/org/springframework/context/event/ApplicationContextEvent.java

@ -1,5 +1,5 @@
/* /*
* Copyright 2002-2012 the original author or authors. * Copyright 2002-2024 the original author or authors.
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
@ -29,7 +29,7 @@ import org.springframework.context.ApplicationEvent;
public abstract class ApplicationContextEvent extends ApplicationEvent { public abstract class ApplicationContextEvent extends ApplicationEvent {
/** /**
* Create a new ContextStartedEvent. * Create a new {@code ApplicationContextEvent}.
* @param source the {@code ApplicationContext} that the event is raised for * @param source the {@code ApplicationContext} that the event is raised for
* (must not be {@code null}) * (must not be {@code null})
*/ */

4
spring-context/src/main/java/org/springframework/context/event/ContextClosedEvent.java

@ -1,5 +1,5 @@
/* /*
* Copyright 2002-2012 the original author or authors. * Copyright 2002-2024 the original author or authors.
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
@ -29,7 +29,7 @@ import org.springframework.context.ApplicationContext;
public class ContextClosedEvent extends ApplicationContextEvent { public class ContextClosedEvent extends ApplicationContextEvent {
/** /**
* Creates a new ContextClosedEvent. * Create a new {@code ContextClosedEvent}.
* @param source the {@code ApplicationContext} that has been closed * @param source the {@code ApplicationContext} that has been closed
* (must not be {@code null}) * (must not be {@code null})
*/ */

4
spring-context/src/main/java/org/springframework/context/event/ContextRefreshedEvent.java

@ -1,5 +1,5 @@
/* /*
* Copyright 2002-2012 the original author or authors. * Copyright 2002-2024 the original author or authors.
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
@ -29,7 +29,7 @@ import org.springframework.context.ApplicationContext;
public class ContextRefreshedEvent extends ApplicationContextEvent { public class ContextRefreshedEvent extends ApplicationContextEvent {
/** /**
* Create a new ContextRefreshedEvent. * Create a new {@code ContextRefreshedEvent}.
* @param source the {@code ApplicationContext} that has been initialized * @param source the {@code ApplicationContext} that has been initialized
* or refreshed (must not be {@code null}) * or refreshed (must not be {@code null})
*/ */

4
spring-context/src/main/java/org/springframework/context/event/ContextStartedEvent.java

@ -1,5 +1,5 @@
/* /*
* Copyright 2002-2012 the original author or authors. * Copyright 2002-2024 the original author or authors.
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
@ -30,7 +30,7 @@ import org.springframework.context.ApplicationContext;
public class ContextStartedEvent extends ApplicationContextEvent { public class ContextStartedEvent extends ApplicationContextEvent {
/** /**
* Create a new ContextStartedEvent. * Create a new {@code ContextStartedEvent}.
* @param source the {@code ApplicationContext} that has been started * @param source the {@code ApplicationContext} that has been started
* (must not be {@code null}) * (must not be {@code null})
*/ */

4
spring-context/src/main/java/org/springframework/context/event/ContextStoppedEvent.java

@ -1,5 +1,5 @@
/* /*
* Copyright 2002-2012 the original author or authors. * Copyright 2002-2024 the original author or authors.
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
@ -30,7 +30,7 @@ import org.springframework.context.ApplicationContext;
public class ContextStoppedEvent extends ApplicationContextEvent { public class ContextStoppedEvent extends ApplicationContextEvent {
/** /**
* Create a new ContextStoppedEvent. * Create a new {@code ContextStoppedEvent}.
* @param source the {@code ApplicationContext} that has been stopped * @param source the {@code ApplicationContext} that has been stopped
* (must not be {@code null}) * (must not be {@code null})
*/ */

Loading…
Cancel
Save