join nested if
This commit is contained in:
parent
0795470d84
commit
2bc71090b3
@ -63,11 +63,9 @@ public class GeometryBuffer {
|
|||||||
if (CHECK_STATE)
|
if (CHECK_STATE)
|
||||||
setOrCheckMode(2);
|
setOrCheckMode(2);
|
||||||
|
|
||||||
if (index[0] >= 0){
|
// start next
|
||||||
// start next
|
if ((index[0] >= 0) && (++indexPos >= index.length))
|
||||||
if (++indexPos >= index.length)
|
ensureIndexSize(indexPos, true);
|
||||||
ensureIndexSize(indexPos, true);
|
|
||||||
}
|
|
||||||
|
|
||||||
// initialize with zero points
|
// initialize with zero points
|
||||||
index[indexPos] = 0;
|
index[indexPos] = 0;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user