Add unit to maxContentLength message javadoc

Motivation:
Not knowing which unit is returned by the maxContentLength() of the Messageggregator when reading the Javadoc is annoying and can be a source of bugs.

Modifications:
Added the mention "in bytes"

Result:
Javadoc is clear.
This commit is contained in:
Leo Gomes 2015-03-05 14:53:33 +01:00 committed by Norman Maurer
parent 944e11c065
commit 01f80d96b6

View File

@ -135,7 +135,7 @@ public abstract class MessageAggregator<I, S, C extends ByteBufHolder, O extends
protected abstract boolean isAggregated(I msg) throws Exception;
/**
* Returns the maximum allowed length of the aggregated message.
* Returns the maximum allowed length of the aggregated message in bytes.
*/
public final int maxContentLength() {
return maxContentLength;