changeset 579:dc548655a66e

Removed litte copy-paste mistake while setting file-extension for exports. gnv/trunk@716 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Ingo Weinzierl <ingo.weinzierl@intevation.de>
date Mon, 01 Mar 2010 11:08:07 +0000
parents fe825061b83e
children 377da78ed36b
files gnv/ChangeLog gnv/src/main/java/de/intevation/gnv/action/DoExportAction.java
diffstat 2 files changed, 6 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/gnv/ChangeLog	Mon Mar 01 11:05:09 2010 +0000
+++ b/gnv/ChangeLog	Mon Mar 01 11:08:07 2010 +0000
@@ -1,3 +1,8 @@
+2010-03-01  Ingo Weinzierl <ingo.weinzierl@intevation.de>
+
+	* src/main/java/de/intevation/gnv/action/DoExportAction.java: Removed little
+	  copy-paste mistake while setting file-extension for exports.
+
 2010-03-01  Ingo Weinzierl <ingo.weinzierl@intevation.de>
 
 	* src/main/java/de/intevation/gnv/action/DoExportAction.java: Set
--- a/gnv/src/main/java/de/intevation/gnv/action/DoExportAction.java	Mon Mar 01 11:05:09 2010 +0000
+++ b/gnv/src/main/java/de/intevation/gnv/action/DoExportAction.java	Mon Mar 01 11:08:07 2010 +0000
@@ -178,7 +178,7 @@
                 fileName = fileName
                            + mimeType.substring(mimeType.indexOf("/") + 1);
             } 
-            if (target.equals("histogram")) {
+            else if (target.equals("histogram")) {
                 fileName = fileName
                            + mimeType.substring(mimeType.indexOf("/") + 1);
             }

http://dive4elements.wald.intevation.org