We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 645abde commit 2cb2fccCopy full SHA for 2cb2fcc
msgpack-core/src/main/java/org/msgpack/core/MessagePacker.java
@@ -174,15 +174,15 @@ private void flushBuffer()
174
position = 0;
175
}
176
177
- private void ensureCapacity(int mimimumSize)
+ private void ensureCapacity(int minimumSize)
178
throws IOException
179
{
180
if (buffer == null) {
181
- buffer = out.next(mimimumSize);
+ buffer = out.next(minimumSize);
182
183
- else if (position + mimimumSize >= buffer.size()) {
+ else if (position + minimumSize >= buffer.size()) {
184
flushBuffer();
185
186
187
188
0 commit comments