Skip to content

Commit fb7e35e

Browse files
committed
Merge pull request #20407 from wycm
* pr/20407: Update copyright of changed file Polish Closes gh-20407
2 parents 185f644 + 5b92151 commit fb7e35e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2012-2019 the original author or authors.
2+
* Copyright 2012-2020 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.
@@ -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)