changeset 2305:ff558d0332e2

Error report: Format kms in error reports at least with one digit after the decimal separator. flys-artifacts/trunk@3974 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Sascha L. Teichmann <sascha.teichmann@intevation.de>
date Wed, 08 Feb 2012 15:51:25 +0000
parents abb390101595
children cc6b8af44728
files flys-artifacts/ChangeLog flys-artifacts/src/main/java/de/intevation/flys/utils/Formatter.java
diffstat 2 files changed, 7 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/flys-artifacts/ChangeLog	Wed Feb 08 15:50:25 2012 +0000
+++ b/flys-artifacts/ChangeLog	Wed Feb 08 15:51:25 2012 +0000
@@ -14,6 +14,12 @@
 
 2012-02-08	Sascha L. Teichmann	<sascha.teichmann@intevation.de>
 
+	* src/main/java/de/intevation/flys/utils/Formatter.java:
+	  Format kms in error reports at least with one digit after
+	  the decimal separator.
+
+2012-02-08	Sascha L. Teichmann	<sascha.teichmann@intevation.de>
+
 	Fix flys/issue468 (Fehler beim Projekt-Duplizieren)
 
 	* src/main/java/de/intevation/flys/exports/ReportGenerator.java:
--- a/flys-artifacts/src/main/java/de/intevation/flys/utils/Formatter.java	Wed Feb 08 15:50:25 2012 +0000
+++ b/flys-artifacts/src/main/java/de/intevation/flys/utils/Formatter.java	Wed Feb 08 15:51:25 2012 +0000
@@ -13,7 +13,7 @@
 public final class Formatter {
 
     // KMS IN ERROR REPORTS.
-    public static final int CALCULATION_REPORT_KM_MIN_DIGITS = 0;
+    public static final int CALCULATION_REPORT_KM_MIN_DIGITS = 1;
     public static final int CALCULATION_REPORT_KM_MAX_DIGITS = 3;
 
     // WATERLEVEL FORMATTER CONSTANTS

http://dive4elements.wald.intevation.org