Commit fb7e35e8 authored by Stephane Nicoll's avatar Stephane Nicoll

Merge pull request #20407 from wycm

* pr/20407:
  Update copyright of changed file
  Polish

Closes gh-20407
parents 185f6448 5b92151d
/*
* 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.
......@@ -54,7 +54,7 @@ class RemoteUrlPropertyExtractor implements ApplicationListener<ApplicationEnvir
catch (URISyntaxException ex) {
throw new IllegalStateException("Malformed URL '" + url + "'");
}
Map<String, Object> source = Collections.singletonMap("remoteUrl", (Object) url);
Map<String, Object> source = Collections.singletonMap("remoteUrl", url);
PropertySource<?> propertySource = new MapPropertySource("remoteUrl", source);
environment.getPropertySources().addLast(propertySource);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment