Mercurial > dive4elements > river
changeset 6259:06ee8e2f8b0b
Removed obsolete member and minor code style.
author | Raimund Renkert <rrenkert@intevation.de> |
---|---|
date | Tue, 11 Jun 2013 09:16:41 +0200 |
parents | 11d76162eca1 |
children | 947434874937 |
files | artifacts/src/main/java/org/dive4elements/river/artifacts/model/minfo/BedDiameterDataFacet.java |
diffstat | 1 files changed, 2 insertions(+), 6 deletions(-) [+] |
line wrap: on
line diff
--- a/artifacts/src/main/java/org/dive4elements/river/artifacts/model/minfo/BedDiameterDataFacet.java Tue Jun 11 09:14:12 2013 +0200 +++ b/artifacts/src/main/java/org/dive4elements/river/artifacts/model/minfo/BedDiameterDataFacet.java Tue Jun 11 09:16:41 2013 +0200 @@ -16,9 +16,6 @@ { private static final Logger logger = Logger.getLogger(BedDiameterDataFacet.class); - private String diameter; - private boolean subCap; - public BedDiameterDataFacet() { } @@ -72,11 +69,11 @@ for (QualityMeasurement m : measurements.getMeasurements()) { if (top == 1 && m.getDepth1() == 0d && m.getDepth2() <= 0.3) { kms.add(m.getKm()); - data.add(m.getDiameter(diameter)*1000); + data.add(m.getDiameter(diameter) * 1000); } else if (top == 0 && m.getDepth1() > 0d && m.getDepth2() <= 0.5){ kms.add(m.getKm()); - data.add(m.getDiameter(diameter)* 1000); + data.add(m.getDiameter(diameter) * 1000); } } BedDiameterData bdd = new BedDiameterData(diameter, kms, data); @@ -91,7 +88,6 @@ copy.type = type; copy.hash = hash; copy.stateId = stateId; - copy.diameter = diameter; return copy; } }