Added all stairs

This commit is contained in:
thatsIch
2015-06-26 01:06:35 +02:00
parent b20afd0ffa
commit 0e378d8ad4
53 changed files with 719 additions and 31 deletions
@@ -3,9 +3,13 @@ package appeng.services.version.github;
import java.io.IOException;
import java.lang.reflect.Type;
import java.net.MalformedURLException;
import java.net.URL;
import java.util.List;
import com.google.gson.Gson;
import com.google.gson.reflect.TypeToken;
import org.apache.commons.io.IOUtils;
import appeng.core.AELog;
@@ -14,9 +18,6 @@ import appeng.services.version.Version;
import appeng.services.version.VersionCheckerConfig;
import appeng.services.version.VersionParser;
import com.google.gson.Gson;
import com.google.gson.reflect.TypeToken;
public final class ReleaseFetcher
{
@@ -49,12 +50,16 @@ public final class ReleaseFetcher
return latestFitRelease;
}
catch( Exception e )
catch( MalformedURLException e )
{
AELog.error( e );
return EXCEPTIONAL_RELEASE;
}
catch( IOException e )
{
AELog.warning( "Could not connect to %s.", GITHUB_RELEASES_URL );
}
return EXCEPTIONAL_RELEASE;
}
private String getRawReleases( URL url ) throws IOException