diff --git a/spring-context/src/main/java/org/springframework/context/annotation/EnableLoadTimeWeaving.java b/spring-context/src/main/java/org/springframework/context/annotation/EnableLoadTimeWeaving.java
index e31c02d0c6..364a6395ed 100644
--- a/spring-context/src/main/java/org/springframework/context/annotation/EnableLoadTimeWeaving.java
+++ b/spring-context/src/main/java/org/springframework/context/annotation/EnableLoadTimeWeaving.java
@@ -165,7 +165,7 @@ public @interface EnableLoadTimeWeaving {
* is present in the classpath. If there is no such resource, then AspectJ
* load-time weaving will be switched off.
*/
- AUTODETECT;
- }
+ AUTODETECT
+ }
}
diff --git a/spring-test/src/main/java/org/springframework/test/annotation/DirtiesContext.java b/spring-test/src/main/java/org/springframework/test/annotation/DirtiesContext.java
index a4ee691a20..ec6a153755 100644
--- a/spring-test/src/main/java/org/springframework/test/annotation/DirtiesContext.java
+++ b/spring-test/src/main/java/org/springframework/test/annotation/DirtiesContext.java
@@ -141,8 +141,8 @@ public @interface DirtiesContext {
* The associated {@code ApplicationContext} will be marked as
* dirty after the corresponding test method.
*/
- AFTER_METHOD;
- }
+ AFTER_METHOD
+ }
/**
@@ -178,8 +178,8 @@ public @interface DirtiesContext {
* The associated {@code ApplicationContext} will be marked as
* dirty after the test class.
*/
- AFTER_CLASS;
- }
+ AFTER_CLASS
+ }
/**
@@ -212,7 +212,7 @@ public @interface DirtiesContext {
* at the lowest level in the context hierarchy that is visible from the
* current test.
*/
- CURRENT_LEVEL;
- }
+ CURRENT_LEVEL
+ }
}