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 e31c02d0c670..364a6395edcc 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 @@ enum AspectJWeaving { * 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 a4ee691a2077..ec6a15375586 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 @@ enum MethodMode { * The associated {@code ApplicationContext} will be marked as * dirty after the corresponding test method. */ - AFTER_METHOD; - } + AFTER_METHOD + } /** @@ -178,8 +178,8 @@ enum ClassMode { * The associated {@code ApplicationContext} will be marked as * dirty after the test class. */ - AFTER_CLASS; - } + AFTER_CLASS + } /** @@ -212,7 +212,7 @@ enum HierarchyMode { * at the lowest level in the context hierarchy that is visible from the * current test. */ - CURRENT_LEVEL; - } + CURRENT_LEVEL + } }