changeset 3601:6c94153cc4a4

Removed superfluous import. s/Double.valueOf/Double.parseDouble/ flys-artifacts/trunk@5227 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Sascha L. Teichmann <sascha.teichmann@intevation.de>
date Mon, 20 Aug 2012 08:34:05 +0000
parents b5b3e73143a6
children e1fd2dfdcb80
files flys-artifacts/ChangeLog flys-artifacts/src/main/java/de/intevation/flys/exports/fixings/FixATExport.java
diffstat 2 files changed, 27 insertions(+), 21 deletions(-) [+]
line wrap: on
line diff
--- a/flys-artifacts/ChangeLog	Fri Aug 17 11:38:18 2012 +0000
+++ b/flys-artifacts/ChangeLog	Mon Aug 20 08:34:05 2012 +0000
@@ -1,3 +1,8 @@
+2012-08-20	Sascha L. Teichmann	<sascha.teichmann@intevation.de>
+
+	* src/main/java/de/intevation/flys/exports/fixings/FixATExport.java:
+	  Removed superfluous import. s/Double.valueOf/Double.parseDouble/.
+
 2012-08-17  Raimund Renkert <raimund.renkert@intevation.de>
 
 	* src/main/java/de/intevation/flys/exports/fixings/FixATExport.java:
--- a/flys-artifacts/src/main/java/de/intevation/flys/exports/fixings/FixATExport.java	Fri Aug 17 11:38:18 2012 +0000
+++ b/flys-artifacts/src/main/java/de/intevation/flys/exports/fixings/FixATExport.java	Mon Aug 20 08:34:05 2012 +0000
@@ -1,33 +1,35 @@
 package de.intevation.flys.exports.fixings;
 
+import au.com.bytecode.opencsv.CSVWriter;
+
+import de.intevation.artifactdatabase.state.ArtifactAndFacet;
+
+import de.intevation.flys.artifacts.FLYSArtifact;
+
+import de.intevation.flys.artifacts.access.FixAccess;
+
+import de.intevation.flys.artifacts.math.fitting.Function;
+import de.intevation.flys.artifacts.math.fitting.FunctionFactory;
+
+import de.intevation.flys.artifacts.model.CalculationResult;
+import de.intevation.flys.artifacts.model.Parameters;
+
+import de.intevation.flys.artifacts.model.fixings.FixAnalysisResult;
+
+import de.intevation.flys.exports.AbstractExporter;
+
+import de.intevation.flys.utils.FLYSUtils;
+
 import java.io.IOException;
 import java.io.OutputStream;
 import java.io.OutputStreamWriter;
 import java.io.Writer;
 
 import org.apache.log4j.Logger;
+
 import org.w3c.dom.Document;
 import org.w3c.dom.NodeList;
 
-import au.com.bytecode.opencsv.CSVWriter;
-
-import de.intevation.artifactdatabase.state.ArtifactAndFacet;
-import de.intevation.artifactdatabase.state.Settings;
-import de.intevation.artifacts.Artifact;
-import de.intevation.artifacts.CallContext;
-import de.intevation.artifacts.common.utils.XMLUtils;
-import de.intevation.flys.artifacts.FLYSArtifact;
-import de.intevation.flys.artifacts.access.FixAccess;
-import de.intevation.flys.artifacts.math.fitting.Function;
-import de.intevation.flys.artifacts.math.fitting.FunctionFactory;
-import de.intevation.flys.artifacts.model.CalculationResult;
-import de.intevation.flys.artifacts.model.Parameters;
-import de.intevation.flys.artifacts.model.fixings.FixAnalysisResult;
-import de.intevation.flys.collections.FLYSArtifactCollection;
-import de.intevation.flys.exports.AbstractExporter;
-import de.intevation.flys.exports.OutGenerator;
-import de.intevation.flys.utils.FLYSUtils;
-
 public class FixATExport extends AbstractExporter {
 
     private static Logger logger =
@@ -73,7 +75,7 @@
         FixATWriter atWriter = new FixATWriter(this.function, this.parameters);
         NodeList nodes = request.getElementsByTagName("km");
         String km = nodes.item(0).getTextContent();
-        double dkm = Double.valueOf(km);
+        double dkm = Double.parseDouble(km);
         String river = FLYSUtils.getRivername((FLYSArtifact)master);
         atWriter.write(writer, context.getMeta(), river, dkm);
         writer.close();
@@ -93,5 +95,4 @@
     protected void addData(Object data) {
         // Nothing to do here.
     }
-
 }

http://dive4elements.wald.intevation.org