From 9553d302b13d34e5c41326b00d81ddaeb0657435 Mon Sep 17 00:00:00 2001 From: Olivier Lamy Date: Tue, 17 May 2011 21:18:14 +0000 Subject: [PATCH] fix 1.5 compilation git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1104563 13f79535-47bb-0310-9956-ffa450edef68 --- .../org/apache/maven/archiva/web/action/ShowArtifactAction.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/archiva-modules/archiva-web/archiva-webapp/src/main/java/org/apache/maven/archiva/web/action/ShowArtifactAction.java b/archiva-modules/archiva-web/archiva-webapp/src/main/java/org/apache/maven/archiva/web/action/ShowArtifactAction.java index ebbd93e63..92fb80c88 100644 --- a/archiva-modules/archiva-web/archiva-webapp/src/main/java/org/apache/maven/archiva/web/action/ShowArtifactAction.java +++ b/archiva-modules/archiva-web/archiva-webapp/src/main/java/org/apache/maven/archiva/web/action/ShowArtifactAction.java @@ -677,7 +677,7 @@ public class ShowArtifactAction } } - DecimalFormat df = new DecimalFormat( "#,###.##", DecimalFormatSymbols.getInstance( Locale.US) ); + DecimalFormat df = new DecimalFormat( "#,###.##", new DecimalFormatSymbols( Locale.US) ); size = df.format( s ) + " " + symbol; id = artifact.getId(); version = artifact.getVersion();