We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents b5e5f31 + 5cd74de commit 223aaa8Copy full SHA for 223aaa8
src/com/rabbitmq/utility/IntAllocator.java
@@ -140,9 +140,9 @@ private void flush(){
140
ListIterator<Interval> it = intervals.listIterator();
141
142
int i = 0;
143
- while(i < unsorted.length){
+ while(i < unsortedCount){
144
int start = i;
145
- while((i < unsorted.length - 1) && (unsorted[i + 1] == unsorted[i] + 1))
+ while((i < unsortedCount - 1) && (unsorted[i + 1] == unsorted[i] + 1))
146
i++;
147
148
Interval interval = new Interval(start, i);
0 commit comments