Skip to content

Commit e7b7b77

Browse files
committed
[netty#5013] Fix typo in DefaultStompFrame.toString() method.
Motivation: DefaultStompFrame.toString() implementations returned a String that contained DefaultFullStompFrame. Modifications: Replace DefaultFullStompFrame with DefaultStompFrame. Result: Less confusing and more correct return value of toString()
1 parent ee4d2c4 commit e7b7b77

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

codec-stomp/src/main/java/io/netty/handler/codec/stomp/DefaultStompFrame.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ public boolean release(int decrement) {
9494

9595
@Override
9696
public String toString() {
97-
return "DefaultFullStompFrame{" +
97+
return "DefaultStompFrame{" +
9898
"command=" + command +
9999
", headers=" + headers +
100100
", content=" + content.toString(CharsetUtil.UTF_8) +

0 commit comments

Comments
 (0)