You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: spring-boot-devtools/src/main/java/org/springframework/boot/devtools/remote/client/ClassPathChangeUploader.java
+35-11Lines changed: 35 additions & 11 deletions
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,5 @@
1
1
/*
2
-
* Copyright 2012-2015 the original author or authors.
2
+
* Copyright 2012-2016 the original author or authors.
3
3
*
4
4
* Licensed under the Apache License, Version 2.0 (the "License");
5
5
* you may not use this file except in compliance with the License.
@@ -19,6 +19,7 @@
19
19
importjava.io.ByteArrayOutputStream;
20
20
importjava.io.IOException;
21
21
importjava.io.ObjectOutputStream;
22
+
importjava.net.ConnectException;
22
23
importjava.net.MalformedURLException;
23
24
importjava.net.URI;
24
25
importjava.net.URISyntaxException;
@@ -51,6 +52,7 @@
51
52
* Listens and pushes any classpath updates to a remote endpoint.
52
53
*
53
54
* @author Phillip Webb
55
+
* @author Andy Wilkinson
54
56
* @since 1.3.0
55
57
*/
56
58
publicclassClassPathChangeUploader
@@ -91,23 +93,45 @@ public ClassPathChangeUploader(String url, ClientHttpRequestFactory requestFacto
Copy file name to clipboardExpand all lines: spring-boot-devtools/src/test/java/org/springframework/boot/devtools/remote/client/ClassPathChangeUploaderTests.java
+36-10Lines changed: 36 additions & 10 deletions
Original file line number
Diff line number
Diff line change
@@ -20,6 +20,7 @@
20
20
importjava.io.File;
21
21
importjava.io.IOException;
22
22
importjava.io.ObjectInputStream;
23
+
importjava.net.ConnectException;
23
24
importjava.util.Collection;
24
25
importjava.util.Iterator;
25
26
importjava.util.LinkedHashSet;
@@ -50,6 +51,7 @@
50
51
* Tests for {@link ClassPathChangeUploader}.
51
52
*
52
53
* @author Phillip Webb
54
+
* @author Andy Wilkinson
53
55
*/
54
56
publicclassClassPathChangeUploaderTests {
55
57
@@ -101,19 +103,28 @@ public void urlMustNotBeMalformed() throws Exception {
0 commit comments