Mercurial > dive4elements > river
changeset 4118:116464587b51
Documentation.
author | Felix Wolfsteller <felix.wolfsteller@intevation.de> |
---|---|
date | Fri, 12 Oct 2012 15:14:29 +0200 |
parents | 3e29c49a3ab8 |
children | 760e2fe00138 |
files | flys-artifacts/ChangeLog flys-artifacts/src/main/java/de/intevation/flys/artifacts/access/RiverAccess.java |
diffstat | 2 files changed, 11 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/flys-artifacts/ChangeLog Fri Oct 12 15:13:19 2012 +0200 +++ b/flys-artifacts/ChangeLog Fri Oct 12 15:14:29 2012 +0200 @@ -1,3 +1,8 @@ +2012-10-12 Felix Wolfsteller <felix.wolfsteller@intevation.de> + + * flys-artifacts/src/main/java/de/intevation/flys/artifacts/access/RiverAccess.java: + Improve code drastically. + 2012-10-12 Felix Wolfsteller <felix.wolfsteller@intevation.de> * flys-artifacts/doc/conf/artifacts/winfo.xml: Include new state and
--- a/flys-artifacts/src/main/java/de/intevation/flys/artifacts/access/RiverAccess.java Fri Oct 12 15:13:19 2012 +0200 +++ b/flys-artifacts/src/main/java/de/intevation/flys/artifacts/access/RiverAccess.java Fri Oct 12 15:14:29 2012 +0200 @@ -4,13 +4,17 @@ import org.apache.log4j.Logger; +/** Access to river data of an artifact. */ public class RiverAccess extends Access { + /** Private logger. */ private static Logger log = Logger.getLogger(RiverAccess.class); + /** River name. */ protected String river; + public RiverAccess() { } @@ -18,6 +22,8 @@ super(artifact); } + + /** Get River name. */ public String getRiver() { if (river == null) { river = getString("river");