Mercurial > dive4elements > river
changeset 7644:f2f34d722807
Added two comments about improvements.
author | Felix Wolfsteller <felix.wolfsteller@intevation.de> |
---|---|
date | Wed, 04 Dec 2013 10:21:08 +0100 |
parents | a217de7ad762 |
children | 7e5d4a0d9bad |
files | artifacts/src/main/java/org/dive4elements/river/utils/RiverUtils.java |
diffstat | 1 files changed, 3 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/artifacts/src/main/java/org/dive4elements/river/utils/RiverUtils.java Wed Dec 04 10:19:10 2013 +0100 +++ b/artifacts/src/main/java/org/dive4elements/river/utils/RiverUtils.java Wed Dec 04 10:21:08 2013 +0100 @@ -254,6 +254,7 @@ logger.debug("Search for the min/max distances of '" + riverName + "'"); + // Why not use getRiver(flysArtifact) ? River river = RiverFactory.getRiver(riverName); return river != null @@ -373,6 +374,8 @@ * Returns the selected River object based on the 'river' data that might * have been inserted by the user. * + * @deprecated - use RiverAccess instead + * * @return the selected River or null if no river has been chosen yet. */ public static River getRiver(D4EArtifact flys) {