This is an automated email from the ASF dual-hosted git repository. markt pushed a commit to branch 7.0.x in repository https://gitbox.apache.org/repos/asf/tomcat.git
commit 6c17de0f2838c8b4857541f89889a3eb82a961a6 Author: Mark Thomas <ma...@apache.org> AuthorDate: Mon Sep 23 14:36:19 2019 +0100 Fix Javadoc warnings --- java/org/apache/tomcat/util/buf/B2CConverter.java | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/java/org/apache/tomcat/util/buf/B2CConverter.java b/java/org/apache/tomcat/util/buf/B2CConverter.java index 31ad092..0b58d3f 100644 --- a/java/org/apache/tomcat/util/buf/B2CConverter.java +++ b/java/org/apache/tomcat/util/buf/B2CConverter.java @@ -71,6 +71,13 @@ public class B2CConverter { /** * Only to be used when it is known that the encoding name is in lower case. + * @param lowerCaseEnc The name of the encoding for the required charset in + * lower case + * + * @return The Charset corresponding to the requested encoding + * + * @throws UnsupportedEncodingException If the requested Charset is not + * available */ public static Charset getCharsetLower(String lowerCaseEnc) throws UnsupportedEncodingException { @@ -85,6 +92,7 @@ public class B2CConverter { return charset; } + private final CharsetDecoder decoder; private ByteBuffer bb = null; private CharBuffer cb = null; @@ -135,6 +143,8 @@ public class B2CConverter { * @param bc byte input * @param cc char output * @param endOfInput Is this all of the available data + * + * @throws IOException If the conversion can not be completed */ public void convert(ByteChunk bc, CharChunk cc, boolean endOfInput) throws IOException { --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org