From 67c2393a6ab3fd5c1a4b6f3b9f3307f2ed51d0b3 Mon Sep 17 00:00:00 2001 From: wycm Date: Fri, 6 Mar 2020 18:03:48 +0800 Subject: [PATCH 1/2] Polish See gh-20407 --- .../boot/devtools/RemoteUrlPropertyExtractor.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spring-boot-project/spring-boot-devtools/src/main/java/org/springframework/boot/devtools/RemoteUrlPropertyExtractor.java b/spring-boot-project/spring-boot-devtools/src/main/java/org/springframework/boot/devtools/RemoteUrlPropertyExtractor.java index d93ac8e2ce..b50e161c66 100644 --- a/spring-boot-project/spring-boot-devtools/src/main/java/org/springframework/boot/devtools/RemoteUrlPropertyExtractor.java +++ b/spring-boot-project/spring-boot-devtools/src/main/java/org/springframework/boot/devtools/RemoteUrlPropertyExtractor.java @@ -54,7 +54,7 @@ class RemoteUrlPropertyExtractor implements ApplicationListener source = Collections.singletonMap("remoteUrl", (Object) url); + Map source = Collections.singletonMap("remoteUrl", url); PropertySource propertySource = new MapPropertySource("remoteUrl", source); environment.getPropertySources().addLast(propertySource); } From 5b92151dcb716f4f7b7e36ac1234c97152a11036 Mon Sep 17 00:00:00 2001 From: Stephane Nicoll Date: Fri, 6 Mar 2020 11:26:03 +0100 Subject: [PATCH 2/2] Update copyright of changed file See gh-20407 --- .../boot/devtools/RemoteUrlPropertyExtractor.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spring-boot-project/spring-boot-devtools/src/main/java/org/springframework/boot/devtools/RemoteUrlPropertyExtractor.java b/spring-boot-project/spring-boot-devtools/src/main/java/org/springframework/boot/devtools/RemoteUrlPropertyExtractor.java index b50e161c66..7b50e83e91 100644 --- a/spring-boot-project/spring-boot-devtools/src/main/java/org/springframework/boot/devtools/RemoteUrlPropertyExtractor.java +++ b/spring-boot-project/spring-boot-devtools/src/main/java/org/springframework/boot/devtools/RemoteUrlPropertyExtractor.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2019 the original author or authors. + * Copyright 2012-2020 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License.