Fix comparison in ChunkSampleStream.
A recent change tried to make this condition clearer by using Integer.MAX_VALUE, but this only works if the comparison also compares against larger values. PiperOrigin-RevId: 312697530
This commit is contained in:
parent
80eb5d4235
commit
dac3dde7bb
@ -635,7 +635,7 @@ public class ChunkSampleStream<T extends ChunkSource> implements SampleStream, S
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (newQueueSize == currentQueueSize) {
|
if (newQueueSize >= currentQueueSize) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user