LUCENE-9327 - drop useless casts in BaseXYShapeTestCase

This commit is contained in:
Tommaso Teofili 2020-04-17 14:57:18 +02:00
parent 74ecc13816
commit 243cf2c99d

View File

@ -228,8 +228,8 @@ public abstract class BaseXYShapeTestCase extends BaseShapeTestCase {
float[] x = new float[p.numPoints() - 1];
float[] y = new float[x.length];
for (int i = 0; i < x.length; ++i) {
x[i] = (float)p.getPolyX(i);
y[i] = (float)p.getPolyY(i);
x[i] = p.getPolyX(i);
y[i] = p.getPolyY(i);
}
return new XYLine(x, y);
}