Skip to content

Commit a8fa98e

Browse files
mnhocksbrannen
authored andcommitted
Remove unnecessary semicolons in enum declarations
Closes gh-32069
1 parent 7372590 commit a8fa98e

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

spring-context/src/main/java/org/springframework/context/annotation/EnableLoadTimeWeaving.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ enum AspectJWeaving {
165165
* is present in the classpath. If there is no such resource, then AspectJ
166166
* load-time weaving will be switched off.
167167
*/
168-
AUTODETECT;
169-
}
168+
AUTODETECT
169+
}
170170

171171
}

spring-test/src/main/java/org/springframework/test/annotation/DirtiesContext.java

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -141,8 +141,8 @@ enum MethodMode {
141141
* The associated {@code ApplicationContext} will be marked as
142142
* <em>dirty</em> after the corresponding test method.
143143
*/
144-
AFTER_METHOD;
145-
}
144+
AFTER_METHOD
145+
}
146146

147147

148148
/**
@@ -178,8 +178,8 @@ enum ClassMode {
178178
* The associated {@code ApplicationContext} will be marked as
179179
* <em>dirty</em> after the test class.
180180
*/
181-
AFTER_CLASS;
182-
}
181+
AFTER_CLASS
182+
}
183183

184184

185185
/**
@@ -212,7 +212,7 @@ enum HierarchyMode {
212212
* at the lowest level in the context hierarchy that is visible from the
213213
* current test.
214214
*/
215-
CURRENT_LEVEL;
216-
}
215+
CURRENT_LEVEL
216+
}
217217

218218
}

0 commit comments

Comments
 (0)