[Dive4elements-commits] [PATCH 04 of 13] Remove whitespace added by eclipse
Wald Commits
scm-commit at wald.intevation.org
Wed Nov 7 15:58:38 CET 2012
# HG changeset patch
# User Björn Ricks <bjoern.ricks at intevation.de>
# Date 1352213856 -3600
# Node ID 3e6ed1285ab9287224e702a4af86220200f2cdd7
# Parent 8f131a870c6f6d13d70172a6ff636caec965cb15
Remove whitespace added by eclipse
diff -r 8f131a870c6f -r 3e6ed1285ab9 flys-artifacts/src/main/java/de/intevation/flys/exports/fixings/AbstractFixGenerator.java
--- a/flys-artifacts/src/main/java/de/intevation/flys/exports/fixings/AbstractFixGenerator.java Tue Nov 06 15:57:02 2012 +0100
+++ b/flys-artifacts/src/main/java/de/intevation/flys/exports/fixings/AbstractFixGenerator.java Tue Nov 06 15:57:36 2012 +0100
@@ -25,19 +25,19 @@
@SuppressWarnings("unchecked")
protected void doSectorAverageOut(ArtifactAndFacet aaf, Document doc, boolean visible, int idx) {
logger.debug("doSectorAverageOut" + aaf.getFacet().getIndex());
-
+
int index = aaf.getFacet().getIndex();
int sectorNdx = index & 3;
-
+
KMIndex<AnalysisPeriod> kms =
(KMIndex<AnalysisPeriod>)aaf.getData(context);
-
+
if(kms == null) {
return;
}
-
+
XYSeries series = new StyledXYSeries(aaf.getFacetDescription(), doc);
-
+
for (KMIndex.Entry<AnalysisPeriod> entry: kms) {
double km = entry.getKm();
AnalysisPeriod ap = entry.getValue();
@@ -48,61 +48,60 @@
double deltaW = qwd.getDeltaW();
series.add(km, deltaW);
}
-
+
addAxisSeries(series, idx, visible);
-
+
}
@SuppressWarnings("unchecked")
protected void doAnalysisEventsOut(ArtifactAndFacet aaf, Document doc, boolean visible, int idx) {
logger.debug("doAnalysisEventsOut");
-
+
KMIndex<QWD> kms =
(KMIndex<QWD>)aaf.getData(context);
-
+
if(kms == null) {
return;
}
-
+
XYSeriesCollection col = new XYSeriesCollection();
-
+
StyledXYSeries series = new StyledXYSeries(aaf.getFacetDescription(), false, doc);
-
+
for (KMIndex.Entry<QWD> entry: kms) {
double km = entry.getKm();
QWD qwd = entry.getValue();
-
+
series.add(km, qwd.getDeltaW());
}
col.addSeries(series);
-
+
addAxisDataset(col, idx, visible);
}
@SuppressWarnings("unchecked")
protected void doReferenceEventsOut(ArtifactAndFacet aaf, Document doc, boolean visible, int idx) {
logger.debug("doReferenceEventOut");
-
+
KMIndex<QWD> kms =
(KMIndex<QWD>)aaf.getData(context);
-
+
if(kms == null) {
return;
}
-
+
XYSeriesCollection col = new XYSeriesCollection();
-
+
StyledXYSeries series = new StyledXYSeries(aaf.getFacetDescription(), false, doc);
-
+
for (KMIndex.Entry<QWD> entry: kms) {
double km = entry.getKm();
QWD qwd = entry.getValue();
-
+
series.add(km, qwd.getDeltaW());
}
col.addSeries(series);
-
+
addAxisDataset(col, idx, visible);
}
-
-}
\ No newline at end of file
+}
More information about the Dive4elements-commits
mailing list