File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
modules/adb/src/org/apache/axis2/databinding/utils Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -1292,7 +1292,7 @@ public static List toList(Object[] array) {
12921292 public static int compare (int intValue , String value ) {
12931293 int param ;
12941294 try {
1295- NumberFormat nf = NumberFormat .getInstance ();
1295+ NumberFormat nf = NumberFormat .getInstance (Locale . US );
12961296 param = nf .parse (value ).intValue ();
12971297 } catch (Exception e ) {
12981298 throw new ObjectConversionException (e );
@@ -1327,7 +1327,7 @@ public static float compare(float floatValue, String value) {
13271327 public static long compare (long longValue , String value ) {
13281328 long param ;
13291329 try {
1330- NumberFormat nf = NumberFormat .getInstance ();
1330+ NumberFormat nf = NumberFormat .getInstance (Locale . US );
13311331 param = nf .parse (value ).longValue ();
13321332 } catch (Exception e ) {
13331333 throw new ObjectConversionException (e );
@@ -1343,7 +1343,7 @@ public static long compare(long longValue, String value) {
13431343 public static int compare (short shortValue , String value ) {
13441344 short param ;
13451345 try {
1346- NumberFormat nf = NumberFormat .getInstance ();
1346+ NumberFormat nf = NumberFormat .getInstance (Locale . US );
13471347 param = nf .parse (value ).shortValue ();
13481348 } catch (Exception e ) {
13491349 throw new ObjectConversionException (e );
You can’t perform that action at this time.
0 commit comments