From 6dbcd0fc31f2d9edc5219307829ed04623decb04 Mon Sep 17 00:00:00 2001 From: James Date: Mon, 22 May 2017 16:20:58 -0400 Subject: [PATCH] Remove import --- .../uhn/fhir/rest/client/apache/ApacheHttpResponse.java | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/hapi-fhir-base/src/main/java/ca/uhn/fhir/rest/client/apache/ApacheHttpResponse.java b/hapi-fhir-base/src/main/java/ca/uhn/fhir/rest/client/apache/ApacheHttpResponse.java index ed6763cdfe4..9195579e921 100644 --- a/hapi-fhir-base/src/main/java/ca/uhn/fhir/rest/client/apache/ApacheHttpResponse.java +++ b/hapi-fhir-base/src/main/java/ca/uhn/fhir/rest/client/apache/ApacheHttpResponse.java @@ -1,7 +1,5 @@ package ca.uhn.fhir.rest.client.apache; -import static org.hamcrest.Matchers.array; - /* * #%L * HAPI FHIR - Core Library @@ -12,7 +10,7 @@ import static org.hamcrest.Matchers.array; * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, @@ -64,7 +62,7 @@ public class ApacheHttpResponse implements IHttpResponse { this.myResponse = theResponse; } - @Deprecated //override deprecated method + @Deprecated // override deprecated method @Override public void bufferEntitity() throws IOException { bufferEntity(); @@ -81,7 +79,7 @@ public class ApacheHttpResponse implements IHttpResponse { try { this.myEntityBytes = IOUtils.toByteArray(respEntity); } catch (IllegalStateException e) { - //FIXME resouce leak + // FIXME resouce leak throw new InternalErrorException(e); } }