Mercurial > dive4elements > gnv-client
comparison gnv/src/main/java/de/intevation/gnv/action/DoExportAction.java @ 681:15ac78a91d1b
Removed trailing whitespace.
gnv/trunk@852 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Sascha L. Teichmann <sascha.teichmann@intevation.de> |
---|---|
date | Mon, 29 Mar 2010 08:04:15 +0000 |
parents | 960ae818296e |
children | d49e8695786c |
comparison
equal
deleted
inserted
replaced
680:ba3370dbc8c5 | 681:15ac78a91d1b |
---|---|
30 import org.apache.struts.action.ActionForward; | 30 import org.apache.struts.action.ActionForward; |
31 import org.apache.struts.action.ActionMapping; | 31 import org.apache.struts.action.ActionMapping; |
32 | 32 |
33 /** | 33 /** |
34 * @author Tim Englich <tim.englich@intevation.de> | 34 * @author Tim Englich <tim.englich@intevation.de> |
35 * | 35 * |
36 */ | 36 */ |
37 public class DoExportAction extends ArtifactDatabaseActionBase { | 37 public class DoExportAction extends ArtifactDatabaseActionBase { |
38 | 38 |
39 /** | 39 /** |
40 * the logger, used to log exceptions and additonaly information | 40 * the logger, used to log exceptions and additonaly information |
183 log.debug("MIMETYPE: " + mimeType); | 183 log.debug("MIMETYPE: " + mimeType); |
184 | 184 |
185 if (target.equals("chart")) { | 185 if (target.equals("chart")) { |
186 fileName = fileName | 186 fileName = fileName |
187 + mimeType.substring(mimeType.indexOf("/") + 1); | 187 + mimeType.substring(mimeType.indexOf("/") + 1); |
188 } | 188 } |
189 else if (target.equals("histogram")) { | 189 else if (target.equals("histogram")) { |
190 fileName = fileName | 190 fileName = fileName |
191 + mimeType.substring(mimeType.indexOf("/") + 1); | 191 + mimeType.substring(mimeType.indexOf("/") + 1); |
192 } | 192 } |
193 else if (target.equals("img")) { | 193 else if (target.equals("img")) { |