remove dead, and also scary, methods from geo tests

This commit is contained in:
Mike McCandless 2016-01-27 09:15:41 -05:00
parent 283d9bb4b7
commit cd82417c35
1 changed files with 0 additions and 16 deletions

View File

@ -413,22 +413,6 @@ public abstract class BaseGeoPointTestCase extends LuceneTestCase {
verify(small, lats, lons); verify(small, lats, lons);
} }
public long scaleLon(final double val) {
return (long) ((val-GeoUtils.MIN_LON_INCL) * LON_SCALE);
}
public long scaleLat(final double val) {
return (long) ((val-GeoUtils.MIN_LAT_INCL) * LAT_SCALE);
}
public double unscaleLon(final long val) {
return (val / LON_SCALE) + GeoUtils.MIN_LON_INCL;
}
public double unscaleLat(final long val) {
return (val / LAT_SCALE) + GeoUtils.MIN_LAT_INCL;
}
public double randomLat(boolean small) { public double randomLat(boolean small) {
double result; double result;
if (small) { if (small) {