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:
parent
b0242585d7
commit
ee4d2c4b74
@ -66,7 +66,7 @@ public class DefaultStompFrame extends DefaultStompHeadersSubframe implements St
|
||||
|
||||
@Override
|
||||
public StompFrame retain(int increment) {
|
||||
content.retain();
|
||||
content.retain(increment);
|
||||
return this;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user