Mercurial > dive4elements > river
changeset 3774:a66df8e8d3df
flys-artifacts: Removed some superfluous implementations of FacetTypes.
flys-artifacts/trunk@5480 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Sascha L. Teichmann <sascha.teichmann@intevation.de> |
---|---|
date | Sun, 16 Sep 2012 08:51:14 +0000 |
parents | 59fe1c630f28 |
children | d52c4ca93ffb |
files | flys-artifacts/ChangeLog flys-artifacts/src/main/java/de/intevation/flys/artifacts/BedHeightsArtifact.java flys-artifacts/src/main/java/de/intevation/flys/artifacts/FixationArtifact.java flys-artifacts/src/main/java/de/intevation/flys/artifacts/MINFOArtifact.java flys-artifacts/src/main/java/de/intevation/flys/artifacts/QSectorArtifact.java flys-artifacts/src/main/java/de/intevation/flys/artifacts/model/AreaFacet.java |
diffstat | 6 files changed, 15 insertions(+), 14 deletions(-) [+] |
line wrap: on
line diff
--- a/flys-artifacts/ChangeLog Sat Sep 15 19:01:05 2012 +0000 +++ b/flys-artifacts/ChangeLog Sun Sep 16 08:51:14 2012 +0000 @@ -1,3 +1,15 @@ +2012-09-16 Sascha L. Teichmann <sascha.teichmann@intevation.de> + + * src/main/java/de/intevation/flys/artifacts/BedHeightsArtifact.java, + src/main/java/de/intevation/flys/artifacts/model/AreaFacet.java, + src/main/java/de/intevation/flys/artifacts/MINFOArtifact.java, + src/main/java/de/intevation/flys/artifacts/QSectorArtifact.java, + src/main/java/de/intevation/flys/artifacts/FixationArtifact.java: + Removed some superfluous implementations of FacetTypes. + TODO: FacetTypes should be broken into smaller pieces. + ATM a lof of class implement it and share a lot of unnecessary + stuff. + 2012-09-15 Sascha L. Teichmann <sascha.teichmann@intevation.de> * src/main/java/de/intevation/flys/artifacts/geom/Polygon2D.java,
--- a/flys-artifacts/src/main/java/de/intevation/flys/artifacts/BedHeightsArtifact.java Sat Sep 15 19:01:05 2012 +0000 +++ b/flys-artifacts/src/main/java/de/intevation/flys/artifacts/BedHeightsArtifact.java Sun Sep 16 08:51:14 2012 +0000 @@ -12,7 +12,6 @@ import de.intevation.artifacts.ArtifactFactory; import de.intevation.artifacts.CallMeta; import de.intevation.artifacts.common.utils.XMLUtils; -import de.intevation.flys.artifacts.model.FacetTypes; import de.intevation.flys.artifacts.model.minfo.BedHeight; import de.intevation.flys.artifacts.model.minfo.BedHeightFacet; import de.intevation.flys.artifacts.model.minfo.BedHeightFactory; @@ -20,7 +19,6 @@ public class BedHeightsArtifact extends StaticFLYSArtifact -implements FacetTypes { /** The logger for this class. */ private static Logger logger =
--- a/flys-artifacts/src/main/java/de/intevation/flys/artifacts/FixationArtifact.java Sat Sep 15 19:01:05 2012 +0000 +++ b/flys-artifacts/src/main/java/de/intevation/flys/artifacts/FixationArtifact.java Sun Sep 16 08:51:14 2012 +0000 @@ -1,7 +1,5 @@ package de.intevation.flys.artifacts; -import de.intevation.flys.artifacts.model.FacetTypes; - import org.apache.log4j.Logger; /** @@ -11,8 +9,7 @@ */ public class FixationArtifact extends FLYSArtifact -implements FacetTypes { - +{ /** The logger for this class. */ private static Logger logger = Logger.getLogger(FixationArtifact.class);
--- a/flys-artifacts/src/main/java/de/intevation/flys/artifacts/MINFOArtifact.java Sat Sep 15 19:01:05 2012 +0000 +++ b/flys-artifacts/src/main/java/de/intevation/flys/artifacts/MINFOArtifact.java Sun Sep 16 08:51:14 2012 +0000 @@ -1,7 +1,5 @@ package de.intevation.flys.artifacts; -import de.intevation.flys.artifacts.model.FacetTypes; - /** * The default MINFO artifact. * @@ -9,8 +7,7 @@ */ public class MINFOArtifact extends FLYSArtifact -implements FacetTypes { - +{ /** The name of the artifact. */ public static final String ARTIFACT_NAME = "minfo";
--- a/flys-artifacts/src/main/java/de/intevation/flys/artifacts/QSectorArtifact.java Sat Sep 15 19:01:05 2012 +0000 +++ b/flys-artifacts/src/main/java/de/intevation/flys/artifacts/QSectorArtifact.java Sun Sep 16 08:51:14 2012 +0000 @@ -14,7 +14,6 @@ import de.intevation.artifacts.CallMeta; import de.intevation.artifacts.CallContext; -import de.intevation.flys.artifacts.model.FacetTypes; import de.intevation.flys.artifacts.model.GaugeFinder; import de.intevation.flys.artifacts.model.GaugeFinderFactory; import de.intevation.flys.artifacts.model.GaugeRange; @@ -32,7 +31,6 @@ */ public class QSectorArtifact extends StaticFLYSArtifact -implements FacetTypes { /** The logger for this class. */ private static Logger logger = Logger.getLogger(QSectorArtifact.class);
--- a/flys-artifacts/src/main/java/de/intevation/flys/artifacts/model/AreaFacet.java Sat Sep 15 19:01:05 2012 +0000 +++ b/flys-artifacts/src/main/java/de/intevation/flys/artifacts/model/AreaFacet.java Sun Sep 16 08:51:14 2012 +0000 @@ -27,8 +27,7 @@ */ public class AreaFacet extends DefaultFacet -implements FacetTypes { - +{ private static Logger logger = Logger.getLogger(AreaFacet.class); /**