Mercurial > dive4elements > gnv-client
diff gnv-artifacts/src/main/java/de/intevation/gnv/state/timeseries/TimeSeriesOutputState.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 | f28a7eac542a |
children | b1f5f2a8840f |
line wrap: on
line diff
--- a/gnv-artifacts/src/main/java/de/intevation/gnv/state/timeseries/TimeSeriesOutputState.java Fri Mar 26 15:31:20 2010 +0000 +++ b/gnv-artifacts/src/main/java/de/intevation/gnv/state/timeseries/TimeSeriesOutputState.java Mon Mar 29 07:58:51 2010 +0000 @@ -488,7 +488,7 @@ /** * TODO Result is not used at the moment. Change result with correct data. */ - protected void createODV(OutputStream outputStream, + protected void createODV(OutputStream outputStream, Collection result, String uuid) throws IOException, StateException { @@ -523,7 +523,7 @@ Element setElement = xmlUtilities.createArtifactElement(doc, "statistic"); setElement.setAttribute("name", set.getName()); - + Iterator<Statistic> sit = set.getStatistics().iterator(); while (sit.hasNext()){ Statistic s = sit.next(); @@ -861,7 +861,7 @@ if (measurementNameValue != null) { this.measuremenValueName = measurementNameValue; } - + String dateNameValue = Config.getStringXPath(configuration, "value-names/value-name[@name='date']/@value"); if (dateNameValue != null) { @@ -878,8 +878,8 @@ gapDefinition = (Element)new ArtifactXMLUtilities(). readConfiguration(absolutFileName); } - - NodeList gapDefinitions = Config.getNodeSetXPath(gapDefinition, + + NodeList gapDefinitions = Config.getNodeSetXPath(gapDefinition, "/time-gaps/time-gap"); if (gapDefinition != null){ timeGapDefinitions = new ArrayList<TimeGap>(gapDefinitions. @@ -890,8 +890,8 @@ int key = Integer.parseInt(gapNode.getAttribute("key")); int value = Integer.parseInt(gapNode.getAttribute("gap")); log.info("Add new Timegap: "+key+" "+value+" "+ unit); - timeGapDefinitions.add(new DefaultTimeGap(unit, - key, + timeGapDefinitions.add(new DefaultTimeGap(unit, + key, value)); } }