We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e097173 commit 9cc63caCopy full SHA for 9cc63ca
src/main/kotlin/gov/nasa/worldwind/geom/coords/MGRSCoord.kt
@@ -6,7 +6,6 @@
6
package gov.nasa.worldwind.geom.coords
7
8
import gov.nasa.worldwind.geom.Angle
9
-import java.util.*
10
11
/**
12
* This class holds an immutable MGRS coordinate string along with
@@ -84,7 +83,7 @@ class MGRSCoord
84
83
var upperString = MGRSString
85
require(upperString.isNotEmpty()) { "String Is Null" }
86
87
- upperString = upperString.uppercase(Locale.getDefault()).replace(" ".toRegex(), "")
+ upperString = upperString.uppercase().replace(" ".toRegex(), "")
88
89
val converter = MGRSCoordConverter()
90
val err = converter.convertMGRSToGeodetic(upperString)
0 commit comments