Skip to content

Commit 1b8fcb6

Browse files
committed
Merge pull request #43560 from arefbehboudi
* pr/43560: Polish Closes gh-43560
2 parents ef43160 + dbc1fc2 commit 1b8fcb6

File tree

3 files changed

+6
-7
lines changed

3 files changed

+6
-7
lines changed

spring-boot-project/spring-boot-devtools/src/intTest/java/org/springframework/boot/devtools/tests/JarFileRemoteApplicationLauncher.java

+2-3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2012-2020 the original author or authors.
2+
* Copyright 2012-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.
@@ -55,8 +55,7 @@ protected String createApplicationClassPath() throws Exception {
5555
List<String> entries = new ArrayList<>();
5656
entries.add(appJar.getAbsolutePath());
5757
entries.addAll(getDependencyJarPaths());
58-
String classpath = StringUtils.collectionToDelimitedString(entries, File.pathSeparator);
59-
return classpath;
58+
return StringUtils.collectionToDelimitedString(entries, File.pathSeparator);
6059
}
6160

6261
private void addToJar(JarOutputStream output, File root, File current) throws IOException {

spring-boot-project/spring-boot-devtools/src/main/java/org/springframework/boot/devtools/restart/RestartApplicationListener.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2012-2023 the original author or authors.
2+
* Copyright 2012-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.
@@ -62,7 +62,7 @@ public void onApplicationEvent(ApplicationEvent event) {
6262
}
6363

6464
private void onApplicationStartingEvent(ApplicationStartingEvent event) {
65-
// It's too early to use the Spring environment but we should still allow
65+
// It's too early to use the Spring environment, but we should still allow
6666
// users to disable restart using a System property.
6767
String enabled = System.getProperty(ENABLED_PROPERTY);
6868
RestartInitializer restartInitializer = null;

spring-boot-project/spring-boot-devtools/src/main/java/org/springframework/boot/devtools/restart/classloader/RestartClassLoader.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2012-2022 the original author or authors.
2+
* Copyright 2012-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.
@@ -167,7 +167,7 @@ public boolean isClassReloadable(Class<?> classType) {
167167
}
168168

169169
/**
170-
* Compound {@link Enumeration} that adds an additional item to the front.
170+
* Compound {@link Enumeration} that adds an item to the front.
171171
*/
172172
private static class CompoundEnumeration<E> implements Enumeration<E> {
173173

0 commit comments

Comments
 (0)