check for connection is done by our website URL, as resource file is there. That let pass test when sourceforge web site is down
This commit is contained in:
parent
f6cb722588
commit
07b24800a7
|
|
@ -162,7 +162,7 @@ public class SuppressionsLoaderTest {
|
|||
|
||||
private static boolean isInternetReachable() {
|
||||
try {
|
||||
URL url = new URL("http://www.yahoo.com");
|
||||
URL url = new URL("http://checkstyle.sourceforge.net/");
|
||||
HttpURLConnection urlConnect = (HttpURLConnection) url.openConnection();
|
||||
@SuppressWarnings("unused")
|
||||
Object objData = urlConnect.getContent();
|
||||
|
|
|
|||
Loading…
Reference in New Issue