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)
256256 latitude = 0 ;
257257 longitude = 0 ;
258258 MGRSComponents mgrs = breakMGRSString (MGRSString );
259- if (mgrs == null ) return last_error ;
259+ if (mgrs == null )
260+ {
261+ return last_error ;
262+ }
260263
261264 long error_code = MGRS_NO_ERROR ;
262- if (mgrs .zone != 0 ) {
265+ if (mgrs .zone != 0 )
266+ {
263267 UTMCoord UTM = convertMGRSToUTM (MGRSString );
264268 if (UTM != null )
265269 {
@@ -1015,7 +1019,7 @@ public long getError()
10151019 /**
10161020 * The function Convert_MGRS_To_UPS converts an MGRS coordinate string to UPS (hemisphere, easting, and northing)
10171021 * 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.
10191023 *
10201024 * @param MGRS the MGRS coordinate string.
10211025 *
You can’t perform that action at this time.
0 commit comments