From fa97c2419e6867523b093f0a8e798a3ea911ff05 Mon Sep 17 00:00:00 2001 From: EbenZhang Date: Thu, 13 Apr 2017 15:42:23 +0800 Subject: [PATCH] Remove the deprecated from readString(InputStream, Charset) I believe it was copied from the previous overload. --- common/src/main/java/org/keycloak/common/util/StreamUtil.java | 1 - 1 file changed, 1 deletion(-) diff --git a/common/src/main/java/org/keycloak/common/util/StreamUtil.java b/common/src/main/java/org/keycloak/common/util/StreamUtil.java index 72ff6df798..c14c1daf3b 100755 --- a/common/src/main/java/org/keycloak/common/util/StreamUtil.java +++ b/common/src/main/java/org/keycloak/common/util/StreamUtil.java @@ -53,7 +53,6 @@ public final class StreamUtil { * @param charset Charset used to decode the input stream * @return String representation of the input stream contents decoded using given charset * @throws IOException - * @deprecated Use {@link #readString(java.io.InputStream, java.nio.charset.Charset)} variant. */ public static String readString(InputStream in, Charset charset) throws IOException {