diff options
author | Jordan Byrne <draknyte1@hotmail.com> | 2017-12-24 11:54:30 +1000 |
---|---|---|
committer | Jordan Byrne <draknyte1@hotmail.com> | 2017-12-24 11:54:30 +1000 |
commit | ecf908e98ccee72a713091e8ab547e35a41d7436 (patch) | |
tree | f0dade1481aa02fd0ac4fcf8a672cc7a761a0547 /src/Java/gtPlusPlus/core/util/geo | |
parent | b9fe3352840abe0846834cefd578895ec6f5e520 (diff) | |
parent | fa5de3584ce7bc97ce6f32b31f6062b5b6e89e75 (diff) | |
download | GT5-Unofficial-ecf908e98ccee72a713091e8ab547e35a41d7436.tar.gz GT5-Unofficial-ecf908e98ccee72a713091e8ab547e35a41d7436.tar.bz2 GT5-Unofficial-ecf908e98ccee72a713091e8ab547e35a41d7436.zip |
> Why does Git make me do these? arghhh...
Merge branch 'master' of https://github.com/draknyte1/GTplusplus
# Conflicts:
# src/Java/gtPlusPlus/core/material/ALLOY.java
# src/Java/gtPlusPlus/core/material/ELEMENT.java
# src/Java/gtPlusPlus/core/material/Material.java
# src/Java/gtPlusPlus/xmod/gregtech/loaders/RecipeGen_Recycling.java
Diffstat (limited to 'src/Java/gtPlusPlus/core/util/geo')
-rw-r--r-- | src/Java/gtPlusPlus/core/util/geo/GeoUtils.java | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/Java/gtPlusPlus/core/util/geo/GeoUtils.java b/src/Java/gtPlusPlus/core/util/geo/GeoUtils.java index e1dba3b22d..84528e0cd5 100644 --- a/src/Java/gtPlusPlus/core/util/geo/GeoUtils.java +++ b/src/Java/gtPlusPlus/core/util/geo/GeoUtils.java @@ -5,7 +5,7 @@ import java.net.*; import org.apache.http.client.utils.URIBuilder; -import gtPlusPlus.core.util.Utils; +import gtPlusPlus.api.objects.Logger; import gtPlusPlus.core.util.networking.NetworkUtils; public class GeoUtils { @@ -19,7 +19,7 @@ public class GeoUtils { return "Offline."; } } catch (Throwable T){ - Utils.LOG_INFO("Failed to initialise GeoUtils."); + Logger.INFO("Failed to initialise GeoUtils."); return "Failed."; } } @@ -78,7 +78,7 @@ public class GeoUtils { return result; //Catch block for bad connection } catch (IOException e) { - Utils.LOG_INFO("Method 1 - Failed."); + Logger.INFO("Method 1 - Failed."); } //Secondary method @@ -87,19 +87,19 @@ public class GeoUtils { return r.replaceAll("(\\r|\\n)", ""); //Catch block for bad connection } catch (java.io.IOException e) { - Utils.LOG_INFO("Method 2 - Failed."); + Logger.INFO("Method 2 - Failed."); } } //Catch block for all the Bad URI/URL building catch (URISyntaxException | MalformedURLException e1) { if (e1 instanceof URISyntaxException){ - Utils.LOG_INFO("Bad URI Syntax for builder."); + Logger.INFO("Bad URI Syntax for builder."); } else { - Utils.LOG_INFO("Malformed URL."); + Logger.INFO("Malformed URL."); } - Utils.LOG_INFO("Country Check - Failed."); + Logger.INFO("Country Check - Failed."); } return "Error getting users Country. "+ipAddress; } |