From 96cb8790542d4498c34e6c95846457afd7fe74f4 Mon Sep 17 00:00:00 2001 From: Leo Gomes Date: Thu, 5 Mar 2015 14:49:20 +0100 Subject: [PATCH] Add unit to maxContentLength javadoc of HttpObjectAggregator Motivation: Not knowing which unit is used for the maxContentLength of the HttpObjectAggregator when reading the Javadoc is annoying and can be a source of bugs. Modifications: Added the mention "in bytes" Result: Javadoc is clear. --- .../java/io/netty/handler/codec/http/HttpObjectAggregator.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/codec-http/src/main/java/io/netty/handler/codec/http/HttpObjectAggregator.java b/codec-http/src/main/java/io/netty/handler/codec/http/HttpObjectAggregator.java index 1a942907b9..9a50466950 100644 --- a/codec-http/src/main/java/io/netty/handler/codec/http/HttpObjectAggregator.java +++ b/codec-http/src/main/java/io/netty/handler/codec/http/HttpObjectAggregator.java @@ -67,7 +67,7 @@ public class HttpObjectAggregator extends MessageToMessageDecoder { * Creates a new instance. * * @param maxContentLength - * the maximum length of the aggregated content. + * the maximum length of the aggregated content in bytes. * If the length of the aggregated content exceeds this value, * a {@link TooLongFrameException} will be raised. */