Skip to content

Commit

Permalink
Update tmpLength
Browse files Browse the repository at this point in the history
  • Loading branch information
aarondav committed Jul 21, 2014
1 parent ec395c8 commit 5c0efaf
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -909,6 +909,7 @@ private Buffer ensureCapacity(int minCapacity) {
newSize = Math.min(newSize, aLength >>> 1);

tmp = s.allocate(newSize);
tmpLength = newSize;
}
return tmp;
}
Expand Down

0 comments on commit 5c0efaf

Please sign in to comment.