mirror of
https://github.com/apache/lucene.git
synced 2025-02-24 19:25:10 +00:00
LUCENE-9327 - drop useless casts in BaseXYShapeTestCase
This commit is contained in:
parent
74ecc13816
commit
243cf2c99d
@ -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);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user