Skip to content

Commit 2cb2fcc

Browse files
committed
Fix typo
1 parent 645abde commit 2cb2fcc

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

msgpack-core/src/main/java/org/msgpack/core/MessagePacker.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -174,15 +174,15 @@ private void flushBuffer()
174174
position = 0;
175175
}
176176

177-
private void ensureCapacity(int mimimumSize)
177+
private void ensureCapacity(int minimumSize)
178178
throws IOException
179179
{
180180
if (buffer == null) {
181-
buffer = out.next(mimimumSize);
181+
buffer = out.next(minimumSize);
182182
}
183-
else if (position + mimimumSize >= buffer.size()) {
183+
else if (position + minimumSize >= buffer.size()) {
184184
flushBuffer();
185-
buffer = out.next(mimimumSize);
185+
buffer = out.next(minimumSize);
186186
}
187187
}
188188

0 commit comments

Comments
 (0)