File tree Expand file tree Collapse file tree 1 file changed +7
-3
lines changed
src/gov/nasa/worldwind/geom/coords Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -256,10 +256,14 @@ public long convertMGRSToGeodetic(String MGRSString)
256
256
latitude = 0 ;
257
257
longitude = 0 ;
258
258
MGRSComponents mgrs = breakMGRSString (MGRSString );
259
- if (mgrs == null ) return last_error ;
259
+ if (mgrs == null )
260
+ {
261
+ return last_error ;
262
+ }
260
263
261
264
long error_code = MGRS_NO_ERROR ;
262
- if (mgrs .zone != 0 ) {
265
+ if (mgrs .zone != 0 )
266
+ {
263
267
UTMCoord UTM = convertMGRSToUTM (MGRSString );
264
268
if (UTM != null )
265
269
{
@@ -1015,7 +1019,7 @@ public long getError()
1015
1019
/**
1016
1020
* The function Convert_MGRS_To_UPS converts an MGRS coordinate string to UPS (hemisphere, easting, and northing)
1017
1021
* coordinates, according to the current ellipsoid parameters. If any errors occur, the error code(s) are returned
1018
- * by the function, otherwide UPS_NO_ERROR is returned.
1022
+ * by the function, otherwise UPS_NO_ERROR is returned.
1019
1023
*
1020
1024
* @param MGRS the MGRS coordinate string.
1021
1025
*
You can’t perform that action at this time.
0 commit comments