From 4237c6e21a78c7010033804288ff272426c2c95d Mon Sep 17 00:00:00 2001 From: Jesse Boyd Date: Mon, 6 Mar 2017 14:46:56 +1100 Subject: [PATCH] Fixes #451 --- build.gradle | 2 +- core/src/main/java/com/boydti/fawe/util/MainUtil.java | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/build.gradle b/build.gradle index 09542708..1aee6eee 100644 --- a/build.gradle +++ b/build.gradle @@ -28,7 +28,7 @@ ext { date = git.head().date.format("yy.MM.dd") revision = "-${git.head().abbreviatedId}" parents = git.head().parentIds; - index = -82; // Offset to mach CI + index = -84; // Offset to mach CI int major, minor, patch; major = minor = patch = 0; for (;parents != null && !parents.isEmpty();index++) { diff --git a/core/src/main/java/com/boydti/fawe/util/MainUtil.java b/core/src/main/java/com/boydti/fawe/util/MainUtil.java index acd46a8c..469206f0 100644 --- a/core/src/main/java/com/boydti/fawe/util/MainUtil.java +++ b/core/src/main/java/com/boydti/fawe/util/MainUtil.java @@ -369,10 +369,10 @@ public class MainUtil { writer.append("--" + boundary + "--").append(CRLF).flush(); } int responseCode = ((HttpURLConnection) con).getResponseCode(); - java.util.Scanner scanner = new java.util.Scanner(con.getInputStream()).useDelimiter("\\A"); - String content = scanner.next().trim(); - scanner.close(); - Fawe.debug(content); +// java.util.Scanner scanner = new java.util.Scanner(con.getInputStream()).useDelimiter("\\A"); +// String content = scanner.next().trim(); +// scanner.close(); +// Fawe.debug(content); if (responseCode == 200) { return url; }