ShowArtifactActionTest makes invalid comma separator assumptions
----------------------------------------------------------------

                 Key: MRM-1453
                 URL: http://jira.codehaus.org/browse/MRM-1453
             Project: Archiva
          Issue Type: Bug
          Components: Web Interface
    Affects Versions: 1.3.3
            Reporter: Mark Struberg
            Priority: Minor


ShowArtifactAction creates the human readable size as 
DecimalFormat("#,###.##"). The problem is that the '.' (dot) in the format not 
really represents a dot, but the decimal symbol of the respective Locale. Thus 
over here in Austria, I get "12,6 K" instead of the assumed "12.6 K" which 
makes the tests fail.

Solution: either fix the test of explicitely use DecimalFormatSymbols.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to