Skip to content

Commit 67c2393

Browse files
wycmsnicoll
authored andcommitted
Polish
See gh-20407
1 parent 185f644 commit 67c2393

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ public void onApplicationEvent(ApplicationEnvironmentPreparedEvent event) {
5454
catch (URISyntaxException ex) {
5555
throw new IllegalStateException("Malformed URL '" + url + "'");
5656
}
57-
Map<String, Object> source = Collections.singletonMap("remoteUrl", (Object) url);
57+
Map<String, Object> source = Collections.singletonMap("remoteUrl", url);
5858
PropertySource<?> propertySource = new MapPropertySource("remoteUrl", source);
5959
environment.getPropertySources().addLast(propertySource);
6060
}

0 commit comments

Comments
 (0)