Skip to content

Commit e79a9a5

Browse files
committed
Correct and consistent event class names in constructor javadoc
Closes gh-33032
1 parent 2c3c383 commit e79a9a5

File tree

5 files changed

+10
-10
lines changed

5 files changed

+10
-10
lines changed

Diff for: spring-context/src/main/java/org/springframework/context/event/ApplicationContextEvent.java

+2-2
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-2024 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.
@@ -29,7 +29,7 @@
2929
public abstract class ApplicationContextEvent extends ApplicationEvent {
3030

3131
/**
32-
* Create a new ContextStartedEvent.
32+
* Create a new {@code ApplicationContextEvent}.
3333
* @param source the {@code ApplicationContext} that the event is raised for
3434
* (must not be {@code null})
3535
*/

Diff for: spring-context/src/main/java/org/springframework/context/event/ContextClosedEvent.java

+2-2
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-2024 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.
@@ -29,7 +29,7 @@
2929
public class ContextClosedEvent extends ApplicationContextEvent {
3030

3131
/**
32-
* Creates a new ContextClosedEvent.
32+
* Create a new {@code ContextClosedEvent}.
3333
* @param source the {@code ApplicationContext} that has been closed
3434
* (must not be {@code null})
3535
*/

Diff for: spring-context/src/main/java/org/springframework/context/event/ContextRefreshedEvent.java

+2-2
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-2024 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.
@@ -29,7 +29,7 @@
2929
public class ContextRefreshedEvent extends ApplicationContextEvent {
3030

3131
/**
32-
* Create a new ContextRefreshedEvent.
32+
* Create a new {@code ContextRefreshedEvent}.
3333
* @param source the {@code ApplicationContext} that has been initialized
3434
* or refreshed (must not be {@code null})
3535
*/

Diff for: spring-context/src/main/java/org/springframework/context/event/ContextStartedEvent.java

+2-2
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-2024 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.
@@ -30,7 +30,7 @@
3030
public class ContextStartedEvent extends ApplicationContextEvent {
3131

3232
/**
33-
* Create a new ContextStartedEvent.
33+
* Create a new {@code ContextStartedEvent}.
3434
* @param source the {@code ApplicationContext} that has been started
3535
* (must not be {@code null})
3636
*/

Diff for: spring-context/src/main/java/org/springframework/context/event/ContextStoppedEvent.java

+2-2
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-2024 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.
@@ -30,7 +30,7 @@
3030
public class ContextStoppedEvent extends ApplicationContextEvent {
3131

3232
/**
33-
* Create a new ContextStoppedEvent.
33+
* Create a new {@code ContextStoppedEvent}.
3434
* @param source the {@code ApplicationContext} that has been stopped
3535
* (must not be {@code null})
3636
*/

0 commit comments

Comments
 (0)