[#1051] Increment by the correct value

This commit is contained in:
Norman Maurer 2013-02-14 14:28:47 +01:00
parent 6983f704c0
commit 7c002504a1

View File

@ -71,7 +71,7 @@ public abstract class AbstractMessageBuf<T> extends AbstractQueue<T> implements
throw new IllegalBufferAccessException("refCnt overflow");
}
this.refCnt = refCnt + 1;
this.refCnt = refCnt + increment;
return this;
}