changeset 4947:7669747d22f2

Fix cr/nl in ATWriter.
author Sascha L. Teichmann <teichmann@intevation.de>
date Thu, 31 Jan 2013 20:09:37 +0100
parents fdb2dce68322
children 64139914e446
files flys-artifacts/src/main/java/de/intevation/flys/exports/ATWriter.java
diffstat 1 files changed, 2 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/flys-artifacts/src/main/java/de/intevation/flys/exports/ATWriter.java	Thu Jan 31 19:48:43 2013 +0100
+++ b/flys-artifacts/src/main/java/de/intevation/flys/exports/ATWriter.java	Thu Jan 31 20:09:37 2013 +0100
@@ -6,7 +6,6 @@
 import java.math.BigDecimal;
 
 import java.text.DateFormat;
-import java.util.Calendar;
 import java.util.Date;
 import java.util.Locale;
 
@@ -136,7 +135,6 @@
         String      river,
         double      km
     ) {
-        DateFormat f = DateFormat.getDateInstance();
         out.print(Resources.getMsg(
             callMeta,
             I18N_AT_HEADER,
@@ -190,14 +188,13 @@
             }
 
             if (++col >= COLUMNS) {
-                out.print("\r");
-                out.println();
+                out.print("\r\n");
                 col = 0;
             }
         }
 
         if (col > 0) {
-            out.println();
+            out.print("\r\n");
         }
 
         out.flush();

http://dive4elements.wald.intevation.org