[Dive4elements-commits] [PATCH 2 of 2] Deprecate FLYSUtils
Wald Commits
scm-commit at wald.intevation.org
Tue Dec 4 14:52:25 CET 2012
# HG changeset patch
# User Björn Ricks <bjoern.ricks at intevation.de>
# Date 1354628454 -3600
# Node ID 53fa4d5c9fb2118164a2e8ece17a0127aad95a3d
# Parent 3661df206a7c5754b48d829131a5cd60d1edd4ac
Deprecate FLYSUtils
FLYSUtils should not be used anymore. Instead use/create a Access class hirarchy
to provide a data "view" of an artifact.
diff -r 3661df206a7c -r 53fa4d5c9fb2 flys-artifacts/src/main/java/de/intevation/flys/utils/FLYSUtils.java
--- a/flys-artifacts/src/main/java/de/intevation/flys/utils/FLYSUtils.java Tue Dec 04 14:39:11 2012 +0100
+++ b/flys-artifacts/src/main/java/de/intevation/flys/utils/FLYSUtils.java Tue Dec 04 14:40:54 2012 +0100
@@ -46,7 +46,13 @@
import de.intevation.flys.model.River;
-/** static helper methods to e.g. access FLYSArtifacts data. */
+/**
+ * Static helper methods to e.g. access FLYSArtifacts data.
+ *
+ * @deprecated Don't use FLYSUtils to get data from an {@link Artifact} anymore.
+ * Instead use and/or create a {@link Access} class hierarchy.
+ **/
+ at Deprecated
public class FLYSUtils {
/** The logger that is used in this utility. */
More information about the Dive4elements-commits
mailing list