Skip to content

Commit e6a23fa

Browse files
dreis2211snicoll
authored andcommitted
Remove unnecessary semicolons
Closes spring-projectsgh-13144
1 parent 972d952 commit e6a23fa

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

spring-boot-project/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/health/ShowDetails.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,6 @@ public enum ShowDetails {
3838
/**
3939
* Always show details in the response.
4040
*/
41-
ALWAYS;
41+
ALWAYS
4242

4343
}

spring-boot-project/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/scheduling/ScheduledTasksEndpoint.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -277,7 +277,7 @@ public String getTarget() {
277277

278278
private enum TaskType {
279279

280-
CRON, FIXED_DELAY, FIXED_RATE;
280+
CRON, FIXED_DELAY, FIXED_RATE
281281

282282
}
283283

spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/data/RepositoryType.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,6 @@ public enum RepositoryType {
4242
/**
4343
* Enables reactive repositories.
4444
*/
45-
REACTIVE;
45+
REACTIVE
4646

4747
}

spring-boot-project/spring-boot-tools/spring-boot-loader-tools/src/test/java/org/springframework/boot/loader/tools/ZipHeaderPeekInputStreamTests.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ public class ZipHeaderPeekInputStreamTests {
3636
public void hasZipHeaderReturnsTrueWhenStreamStartsWithZipHeader()
3737
throws IOException {
3838
try (ZipHeaderPeekInputStream in = new ZipHeaderPeekInputStream(
39-
new ByteArrayInputStream(new byte[] { 0x50, 0x4b, 0x03, 0x04, 5, 6 }));) {
39+
new ByteArrayInputStream(new byte[] { 0x50, 0x4b, 0x03, 0x04, 5, 6 }))) {
4040
assertThat(in.hasZipHeader()).isTrue();
4141
}
4242
}

spring-boot-project/spring-boot/src/test/java/org/springframework/boot/diagnostics/analyzer/BindFailureAnalyzerTests.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,7 @@ public void setFruit(Set<Fruit> fruit) {
203203

204204
enum Fruit {
205205

206-
APPLE, BANANA, ORANGE;
206+
APPLE, BANANA, ORANGE
207207

208208
}
209209

0 commit comments

Comments
 (0)