From a49057361f0e37f90de5f50f7172f04b0a2d389e Mon Sep 17 00:00:00 2001 From: Bryson Steck Date: Tue, 15 Jun 2021 20:15:51 -0600 Subject: now testing full day resurrection --- src/net/brysonsteck/Resurrection/startup/CheckForUpdate.java | 4 ---- 1 file changed, 4 deletions(-) (limited to 'src/net/brysonsteck/Resurrection/startup') 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(); -- cgit v1.2.3