You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by GitBox <gi...@apache.org> on 2019/09/30 14:50:45 UTC

[GitHub] [nifi] pvillard31 commented on a change in pull request #3570: Fix for NIFI-6422

pvillard31 commented on a change in pull request #3570: Fix for NIFI-6422
URL: https://github.com/apache/nifi/pull/3570#discussion_r329621333
 
 

 ##########
 File path: nifi-commons/nifi-utils/src/main/java/org/apache/nifi/util/FormatUtils.java
 ##########
 @@ -110,7 +111,7 @@ private static String pad3Places(final long val) {
      */
     public static String formatDataSize(final double dataSize) {
         // initialize the formatter
-        final NumberFormat format = NumberFormat.getNumberInstance();
+        final NumberFormat format = NumberFormat.getNumberInstance(Locale.US);
 
 Review comment:
   I'm not sure we want to force US locale as it's used in many places. Any reason for this change?

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services