# HG changeset patch # User Felix Wolfsteller # Date 1386148868 -3600 # Node ID f2f34d72280735deb2c541907e8df003a252289c # Parent a217de7ad7624c3d013d8b3518796c125218f0f6 Added two comments about improvements. diff -r a217de7ad762 -r f2f34d722807 artifacts/src/main/java/org/dive4elements/river/utils/RiverUtils.java --- 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) {