Correctly handle DefaultStompFrame.retain(increment)

Motivation:

DefaultStompFrame.retain(increment) missed to pass on the increment parameter.

Modifications:

Correctly pass on increment paramter.

Result:

Correctly handle the retain when increment value is given.
This commit is contained in:
Norman Maurer 2016-03-22 12:43:10 +01:00
parent b0242585d7
commit ee4d2c4b74

View File

@ -66,7 +66,7 @@ public class DefaultStompFrame extends DefaultStompHeadersSubframe implements St
@Override
public StompFrame retain(int increment) {
content.retain();
content.retain(increment);
return this;
}