Skip to content

Commit c33d896

Browse files
committed
Fix MessagePackFactory.snapshot() to return a copy instead of this
1 parent 752ccdf commit c33d896

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

msgpack-jackson3/src/main/java/org/msgpack/jackson/dataformat/MessagePackFactory.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ public TokenStreamFactory copy()
166166
@Override
167167
public TokenStreamFactory snapshot()
168168
{
169-
return this;
169+
return copy();
170170
}
171171

172172
@Override

0 commit comments

Comments
 (0)