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:
Roman Ivanov 2015-07-16 20:48:20 -07:00
parent f6cb722588
commit 07b24800a7
1 changed files with 1 additions and 1 deletions

View File

@ -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();