diff options
Diffstat (limited to 'src/net/brysonsteck/Resurrection/startup')
-rw-r--r-- | src/net/brysonsteck/Resurrection/startup/CheckForUpdate.java | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/net/brysonsteck/Resurrection/startup/CheckForUpdate.java b/src/net/brysonsteck/Resurrection/startup/CheckForUpdate.java index 56893d8..2a46aa5 100644 --- a/src/net/brysonsteck/Resurrection/startup/CheckForUpdate.java +++ b/src/net/brysonsteck/Resurrection/startup/CheckForUpdate.java @@ -3,10 +3,8 @@ package net.brysonsteck.Resurrection.startup; import com.google.gson.JsonElement; import com.google.gson.JsonObject; import com.google.gson.JsonParser; -import com.google.gson.stream.JsonReader; import java.io.*; -import java.net.MalformedURLException; import java.net.URL; import java.net.URLConnection; @@ -25,8 +23,6 @@ public class CheckForUpdate { version = softwareObj.get("current-release").toString(); version = version.replace("\"", ""); versionURL = softwareObj.get("github-release").toString(); -// version = rootobj.get("current-version").getAsString(); -// versionURL = rootobj.get("release-url").getAsString(); } catch (IOException e) { System.out.println("[Resurrection] An error has occurred while attempting to check for updates."); e.printStackTrace(); |