changeset 2211:5400631d2f96

Fixed problems with unformatted numbers in error message. flys-artifacts/trunk@3845 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Sascha L. Teichmann <sascha.teichmann@intevation.de>
date Tue, 31 Jan 2012 16:26:30 +0000
parents 66408cdca36f
children 588db6f2e05a
files flys-artifacts/ChangeLog flys-artifacts/src/main/java/de/intevation/flys/artifacts/model/Calculation.java
diffstat 2 files changed, 8 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/flys-artifacts/ChangeLog	Tue Jan 31 15:43:38 2012 +0000
+++ b/flys-artifacts/ChangeLog	Tue Jan 31 16:26:30 2012 +0000
@@ -1,3 +1,8 @@
+2012-01-31	Sascha L. Teichmann	<sascha.teichmann@intevation.de>
+
+	* src/main/java/de/intevation/flys/artifacts/model/Calculation.java:
+	  Fixed problems with unformatted numbers in error message.
+
 2012-01-31  Ingo Weinzierl <ingo@intevation.de>
 
 	* src/main/java/de/intevation/flys/artifacts/states/HistoricalDischargeState.java:
@@ -85,7 +90,7 @@
 	* src/main/java/de/intevation/flys/artifacts/states/MinMaxState.java:
 	  Write default values for min and max items into the DESCRIBE document.
 
-2012-01-28	Sascha L. Teichmann	<sascha.teichmann@intevation.de>
+2012-01-30	Sascha L. Teichmann	<sascha.teichmann@intevation.de>
 
 	* src/main/java/de/intevation/flys/artifacts/model/WW.java:
 	  Added field 'startKm' and 'endKm' to make it easier to associate
--- a/flys-artifacts/src/main/java/de/intevation/flys/artifacts/model/Calculation.java	Tue Jan 31 15:43:38 2012 +0000
+++ b/flys-artifacts/src/main/java/de/intevation/flys/artifacts/model/Calculation.java	Tue Jan 31 16:26:30 2012 +0000
@@ -52,8 +52,8 @@
                 problem.setAttribute("km", String.valueOf(km));
             }
             String text = args != null
-                ? Resources.getMsg(meta, msg, msg)
-                : Resources.getMsg(meta, msg, msg, args);
+                ? Resources.getMsg(meta, msg, msg, args)
+                : Resources.getMsg(meta, msg, msg);
             problem.setTextContent(text);
             return problem;
         }

http://dive4elements.wald.intevation.org