Skip to content
Snippets Groups Projects
Commit 8e28da8a authored by Luc Maisonobe's avatar Luc Maisonobe
Browse files

Fixed name AngulerUnits -> AngularUnits

parent f3b5cca3
No related branches found
No related tags found
No related merge requests found
......@@ -22,7 +22,7 @@ import org.apache.commons.math3.util.FastMath;
* @see <a href="http://www.remotesensing.org/geotiff/spec/geotiff6.html#6.3.1.4">GeoTIFF specification, section 6.3.1.4</a>
* @author Luc Maisonobe
*/
enum AngulerUnits {
enum AngularUnits {
// CHECKSTYLE: stop JavadocVariable check
RADIAN(9101) {
......@@ -97,7 +97,7 @@ enum AngulerUnits {
/** Simple constructor.
* @param id key id
*/
private AngulerUnits(final int id) {
private AngularUnits(final int id) {
this.id = id;
}
......@@ -112,8 +112,8 @@ enum AngulerUnits {
* @return the units corresponding to the id
* @exception IllegalArgumentException if the id does not correspond to known units
*/
public static AngulerUnits getUnits(final int id) {
for (AngulerUnits units : values()) {
public static AngularUnits getUnits(final int id) {
for (AngularUnits units : values()) {
if (units.id == id) {
return units;
}
......
......@@ -157,7 +157,7 @@ public class AsterTileUpdater implements TileUpdater {
1, 1, 0);
}
AngulerUnits angulerUnits = AngulerUnits.DEGREE;
AngularUnits angulerUnits = AngularUnits.DEGREE;
for (int i = 0; i < numberOfKeys; ++i) {
final GeoKey geoKey = GeoKey.getKey(geoKeyDirectory[4 * i + 4]);
final int location = geoKeyDirectory[4 * i + 5];
......@@ -199,7 +199,7 @@ public class AsterTileUpdater implements TileUpdater {
break;
}
case GEOG_ANGULAR_UNITS: {
angulerUnits = AngulerUnits.getUnits(getShort(geoKey, location, count, valueOffset, fileName));
angulerUnits = AngularUnits.getUnits(getShort(geoKey, location, count, valueOffset, fileName));
break;
}
default:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment