{"base_revision":"git-v1:c305cae19963f755892610d6ab34968a24bd7a3e","content":"diff --git a/debian/control b/debian/control\nindex fd0063e..a2a9149 100644\n--- a/debian/control\n+++ b/debian/control\n@@ -6,7 +6,7 @@ Uploaders: tony mancill <tmancill@debian.org>\n Build-Depends: debhelper-compat (= 13), default-jdk, maven-debian-helper (>= 2.1)\n Build-Depends-Indep: libandroid-json-java, libhttpasyncclient-java, libhttpclient-java,\n  libhttpmime-java, junit4, libcommons-io-java, libjackson2-databind-java\n-Standards-Version: 4.5.1\n+Standards-Version: 4.7.4\n Rules-Requires-Root: no\n Vcs-Git: https://salsa.debian.org/java-team/unirest-java.git\n Vcs-Browser: https://salsa.debian.org/java-team/unirest-java\ndiff --git a/debian/patches/json_lib.patch.0 b/debian/patches/json_lib.patch.0\ndeleted file mode 100644\nindex 109115f..0000000\n--- a/debian/patches/json_lib.patch.0\n+++ /dev/null\n@@ -1,89 +0,0 @@\n-Description: <short summary of the patch>\n- TODO: Put a short summary on the line above and replace this paragraph\n- with a longer explanation of this change. Complete the meta-information\n- with other relevant fields (see below for details). To make it easier, the\n- information below has been extracted from the changelog. Adjust it or drop\n- it.\n- .\n- unirest-java (1.4.8-1) UNRELEASED; urgency=medium\n- .\n-   * Initial release (Closes: #819692)\n-Author: tony mancill <tmancill@debian.org>\n-Bug-Debian: https://bugs.debian.org/819692\n-\n----\n-The information above should follow the Patch Tagging Guidelines, please\n-checkout http://dep.debian.net/deps/dep3/ to learn about the format. Here\n-are templates for supplementary fields that you might want to add:\n-\n-Origin: <vendor|upstream|other>, <url of original patch>\n-Bug: <url in upstream bugtracker>\n-Bug-Debian: https://bugs.debian.org/<bugnumber>\n-Bug-Ubuntu: https://launchpad.net/bugs/<bugnumber>\n-Forwarded: <no|not-needed|url proving that it has been forwarded>\n-Reviewed-By: <name and email of someone who approved the patch>\n-Last-Update: 2016-09-21\n-\n---- a/src/test/java/com/mashape/unirest/test/http/UnirestTest.java\n-+++ b/src/test/java/com/mashape/unirest/test/http/UnirestTest.java\n-@@ -103,21 +103,21 @@\n- \t}\n- \n- \t@Test\n--\tpublic void testGetUTF8() throws UnirestException {\n-+\tpublic void testGetUTF8() throws UnirestException, JSONException {\n- \t\tHttpResponse<JsonNode> response = Unirest.get(\"http://httpbin.org/get\").queryString(\"param3\", \"こんにちは\").asJson();\n- \n- \t\tassertEquals(response.getBody().getObject().getJSONObject(\"args\").getString(\"param3\"), \"こんにちは\");\n- \t}\n- \n- \t@Test\n--\tpublic void testPostUTF8() throws UnirestException {\n-+\tpublic void testPostUTF8() throws UnirestException, JSONException {\n- \t\tHttpResponse<JsonNode> response = Unirest.post(\"http://httpbin.org/post\").field(\"param3\", \"こんにちは\").asJson();\n- \n- \t\tassertEquals(response.getBody().getObject().getJSONObject(\"form\").getString(\"param3\"), \"こんにちは\");\n- \t}\n- \n- \t@Test\n--\tpublic void testPostBinaryUTF8() throws UnirestException, URISyntaxException {\n-+\tpublic void testPostBinaryUTF8() throws UnirestException, URISyntaxException, JSONException {\n- \t\tHttpResponse<JsonNode> response = Unirest.post(\"http://httpbin.org/post\").field(\"param3\", \"こんにちは\").field(\"file\", new File(getClass().getResource(\"/test\").toURI())).asJson();\n- \n- \t\tassertEquals(\"This is a test file\", response.getBody().getObject().getJSONObject(\"files\").getString(\"file\"));\n-@@ -125,7 +125,7 @@\n- \t}\n- \n- \t@Test\n--\tpublic void testPostRawBody() throws UnirestException, URISyntaxException, IOException {\n-+\tpublic void testPostRawBody() throws UnirestException, URISyntaxException, IOException, JSONException {\n- \t\tString sourceString = \"'\\\"@こんにちは-test-123-\" + Math.random();\n- \t\tbyte[] sentBytes = sourceString.getBytes();\n- \n-@@ -135,7 +135,7 @@\n- \t}\n- \n- \t@Test\n--\tpublic void testCustomUserAgent() throws JSONException, UnirestException {\n-+\tpublic void testCustomUserAgent() throws JSONException, UnirestException, JSONException {\n- \t\tHttpResponse<JsonNode> response = Unirest.get(\"http://httpbin.org/get?name=mark\").header(\"user-agent\", \"hello-world\").asJson();\n- \t\tassertEquals(\"hello-world\", response.getBody().getObject().getJSONObject(\"headers\").getString(\"User-Agent\"));\n- \n-@@ -147,7 +147,7 @@\n- \t}\n- \n- \t@Test\n--\tpublic void testGetMultiple() throws JSONException, UnirestException {\n-+\tpublic void testGetMultiple() throws JSONException, UnirestException, JSONException {\n- \t\tfor (int i = 1; i <= 20; i++) {\n- \t\t\tHttpResponse<JsonNode> response = Unirest.get(\"http://httpbin.org/get?try=\" + i).asJson();\n- \t\t\tassertEquals(response.getBody().getObject().getJSONObject(\"args\").getString(\"try\"), ((Integer) i).toString());\n-@@ -155,7 +155,7 @@\n- \t}\n- \n- \t@Test\n--\tpublic void testGetFields() throws JSONException, UnirestException {\n-+\tpublic void testGetFields() throws JSONException, UnirestException, JSONException {\n- \t\tHttpResponse<JsonNode> response = Unirest.get(\"http://httpbin.org/get\").queryString(\"name\", \"mark\").queryString(\"nick\", \"thefosk\").asJson();\n- \t\tassertEquals(response.getBody().getObject().getJSONObject(\"args\").getString(\"name\"), \"mark\");\n- \t\tassertEquals(response.getBody().getObject().getJSONObject(\"args\").getString(\"nick\"), \"thefosk\");\ndiff --git a/debian/rules b/debian/rules\nindex aba914b..ec38b7c 100755\n--- a/debian/rules\n+++ b/debian/rules\n@@ -2,6 +2,3 @@\n \n %:\n \tdh $@ --buildsystem=maven\n-\n-get-orig-source:\n-\tuscan --download-current-version --force-download --no-symlink\n","content_type":"text/plain","diff_type":"vcs","new_revision":"git-v1:75046fd85586406c28d3584b3af1d5272ccf37d5"}