diff gnv-artifacts/src/main/java/de/intevation/gnv/state/profile/horizontalcrosssection/HorizontalCrossSectionMeshOutputState.java @ 778:9a828e5a2390

Removed trailing whitespace gnv-artifacts/trunk@851 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Sascha L. Teichmann <sascha.teichmann@intevation.de>
date Mon, 29 Mar 2010 07:58:51 +0000
parents eedad2ddad14
children c4156275c1e1
line wrap: on
line diff
--- a/gnv-artifacts/src/main/java/de/intevation/gnv/state/profile/horizontalcrosssection/HorizontalCrossSectionMeshOutputState.java	Fri Mar 26 15:31:20 2010 +0000
+++ b/gnv-artifacts/src/main/java/de/intevation/gnv/state/profile/horizontalcrosssection/HorizontalCrossSectionMeshOutputState.java	Mon Mar 29 07:58:51 2010 +0000
@@ -109,7 +109,7 @@
     }
 
     public void initialize(String uuid, CallContext callContext)
-    throws StateException { 
+    throws StateException {
         super.initialize(uuid, callContext);
         if (log.isDebugEnabled()) {
             log.debug("initialize output state " + uuid);
@@ -172,13 +172,13 @@
     }
 
     public void out(
-        Document              format, 
+        Document              format,
         Collection<InputData> inputData,
         OutputStream          outputStream,
         String                uuid,
         CallContext           callContext
     )
-    throws StateException 
+    throws StateException
     {
         String outputMode = XMLUtils.xpathString(
             format, XPATH_OUTPUT_MODE, ArtifactNamespaceContext.INSTANCE);
@@ -210,7 +210,7 @@
         String       uuid,
         CallContext  callContext,
         OutputStream output
-    ) 
+    )
     throws StateException
     {
         try {
@@ -359,7 +359,7 @@
                     FileUtils.deleteContent(shapeDir);
                 }
                 else if (!shapeDir.mkdirs()) {
-                    log.error("cannot create directory '" 
+                    log.error("cannot create directory '"
                         + shapeDir.getAbsolutePath() + "'");
                     return null;
                 }
@@ -408,7 +408,7 @@
                 FileUtils.deleteRecursive(shapeDir);
             }
         }
-    } 
+    }
 
 
     protected AttributedPoint2ds getResult(String uuid, CallContext callContext)
@@ -432,8 +432,8 @@
 
         return result;
     }
-    
-    protected AttributedPoint2ds produceResult(CallContext callContext) 
+
+    protected AttributedPoint2ds produceResult(CallContext callContext)
     throws StateException
     {
         InputData meshPolygon = inputData.get("mesh_polygon");
@@ -534,7 +534,7 @@
                 int pIdx = rd.getColumnIndex("PARAMETERID");
 
                 if (sIdx == -1 || iIdx == -1
-                ||  jIdx == -1 || kIdx == -1 
+                ||  jIdx == -1 || kIdx == -1
                 ||  vIdx == -1 || tIdx == -1
                 ||  pIdx == -1
                 ) {
@@ -560,7 +560,7 @@
 
             Point2d p2d = new Point2d(coord.x, coord.y, v, i, j);
             points.add(p2d);
-            
+
         }
         ap2ds.setPoints(points);
 
@@ -610,7 +610,7 @@
         int extrapolationRounds = extrapolationRounds(callContext);
 
         if (!interpolation.interpolate(
-            input.getPoints(), 
+            input.getPoints(),
             boundingBox,
             new Dimension(numSamples, numSamples),
             new QueriedXYDepth(groundInterpolation),
@@ -648,7 +648,7 @@
             polygon,
             boundingBox.getMinX(), boundingBox.getMinY(),
             boundingBox.getMaxX(), boundingBox.getMaxY());
-            
+
         int numRegions = new Vectorizer(intRaster, numSamples)
             .process(jtsmpp);
 
@@ -705,14 +705,14 @@
         return input;
     }
 
-    
+
     @Override
     public void setup(Node configuration) {
         super.setup(configuration);
         this.ijkQueryID = Config.getStringXPath(configuration,"queryID-ijk");
-        
+
     }
-    
+
     private static int numSamples(CallContext callContext) {
         GNVArtifactContext context =
             (GNVArtifactContext)callContext.globalContext();
@@ -744,7 +744,7 @@
     }
 
     private static int getGroundInterpolation(CallContext callContext) {
-        GNVArtifactContext context = 
+        GNVArtifactContext context =
             (GNVArtifactContext)callContext.globalContext();
 
         String interpolation = (String)context.get(
@@ -756,7 +756,7 @@
     private static Map<Integer, PaletteManager> getPalettes(
         CallContext callContext
     ) {
-        GNVArtifactContext context = 
+        GNVArtifactContext context =
             (GNVArtifactContext)callContext.globalContext();
         Map<Integer, PaletteManager> palettes =
             (Map<Integer, PaletteManager>)context.get(

http://dive4elements.wald.intevation.org