This is an automated email from the ASF dual-hosted git repository.

robertlazarski pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/axis-axis2-java-core.git


The following commit(s) were added to refs/heads/master by this push:
     new 23ec15f55a AXIS2-6041 Actually the code uses 
NumberFormat.getInstance(Locale.US) ... add some comments
23ec15f55a is described below

commit 23ec15f55afcdeebe9093b45b9550a9a61ad0693
Author: Robert Lazarski <alphatheory-rlazar...@github.com>
AuthorDate: Mon Feb 10 15:32:41 2025 -1000

    AXIS2-6041 Actually the code uses NumberFormat.getInstance(Locale.US) ... 
add some comments
---
 modules/adb/src/org/apache/axis2/databinding/utils/ConverterUtil.java | 1 +
 1 file changed, 1 insertion(+)

diff --git 
a/modules/adb/src/org/apache/axis2/databinding/utils/ConverterUtil.java 
b/modules/adb/src/org/apache/axis2/databinding/utils/ConverterUtil.java
index 40127316fc..f1cc2499bf 100644
--- a/modules/adb/src/org/apache/axis2/databinding/utils/ConverterUtil.java
+++ b/modules/adb/src/org/apache/axis2/databinding/utils/ConverterUtil.java
@@ -1292,6 +1292,7 @@ public class ConverterUtil {
     public static int compare(int intValue, String value) {
         int param;
         try {
+           // See AXIS2-6041 and AXIS2-6068 that require Locale.US
             NumberFormat nf = NumberFormat.getInstance(Locale.US);
             param = nf.parse(value).intValue();
         } catch (Exception e) {

Reply via email to