changeset 6208:715e010d40de

Add * in the first line of AT Exports. According to the "spec" this is requried. Desktop flys does not care though as it just ignores the first line.
author Andre Heinecke <aheinecke@intevation.de>
date Wed, 05 Jun 2013 18:02:39 +0200
parents a82a724356f0
children 1642e08d14d2
files artifacts/src/main/java/org/dive4elements/river/exports/ATWriter.java artifacts/src/main/java/org/dive4elements/river/exports/fixings/FixATWriter.java
diffstat 2 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/artifacts/src/main/java/org/dive4elements/river/exports/ATWriter.java	Wed Jun 05 14:44:36 2013 +0200
+++ b/artifacts/src/main/java/org/dive4elements/river/exports/ATWriter.java	Wed Jun 05 18:02:39 2013 +0200
@@ -130,7 +130,7 @@
         Date        date
     ) {
         DateFormat f = DateFormat.getDateInstance();
-        out.print(Resources.getMsg(
+        out.print("*" + Resources.getMsg(
             callMeta,
             I18N_AT_GAUGE_HEADER,
             I18N_AT_GAUGE_HEADER,
@@ -144,7 +144,7 @@
         String      river,
         double      km
     ) {
-        out.print(Resources.getMsg(
+        out.print("*" + Resources.getMsg(
             callMeta,
             I18N_AT_HEADER,
             I18N_AT_HEADER,
--- a/artifacts/src/main/java/org/dive4elements/river/exports/fixings/FixATWriter.java	Wed Jun 05 14:44:36 2013 +0200
+++ b/artifacts/src/main/java/org/dive4elements/river/exports/fixings/FixATWriter.java	Wed Jun 05 18:02:39 2013 +0200
@@ -156,7 +156,7 @@
         String      river,
         double      km
     ) {
-        out.println(Resources.format(
+        out.println("*" + Resources.format(
             meta,
             I18N_HEADER_KEY,
             I18N_HEADER_DEFAULT,

http://dive4elements.wald.intevation.org