Use HTTPS for external links wherever possible

See gh-16316
This commit is contained in:
Spring Operator
2019-03-26 04:14:28 -05:00
committed by Andy Wilkinson
parent a732acaebf
commit e401d02ced
106 changed files with 440 additions and 440 deletions

View File

@@ -72,7 +72,7 @@ public class ClassPathFileSystemWatcherTests {
Map<String, Object> properties = new HashMap<String, Object>();
File folder = this.temp.newFolder();
List<URL> urls = new ArrayList<URL>();
urls.add(new URL("http://spring.io"));
urls.add(new URL("https://spring.io"));
urls.add(folder.toURI().toURL());
properties.put("urls", urls);
MapPropertySource propertySource = new MapPropertySource("test", properties);

View File

@@ -61,7 +61,7 @@ public class ChangeableUrlsTests {
@Test
public void httpUrl() throws Exception {
URL url = new URL("http://spring.io");
URL url = new URL("https://spring.io");
assertThat(ChangeableUrls.fromUrls(url).size(), equalTo(0));
}