Mercurial > dive4elements > river
changeset 2890:fba76f4afca9
Cosmetics, docs.
flys-client/trunk@4573 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Felix Wolfsteller <felix.wolfsteller@intevation.de> |
---|---|
date | Mon, 04 Jun 2012 08:21:09 +0000 |
parents | 6c613c9f3a51 |
children | 984a9ad71935 |
files | flys-client/ChangeLog flys-client/src/main/java/de/intevation/flys/client/server/ArtifactServiceImpl.java flys-client/src/main/java/de/intevation/flys/client/server/BaseServlet.java |
diffstat | 3 files changed, 11 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/flys-client/ChangeLog Sun Jun 03 15:11:55 2012 +0000 +++ b/flys-client/ChangeLog Mon Jun 04 08:21:09 2012 +0000 @@ -1,3 +1,9 @@ +2012-06-04 Felix Wolfsteller <felix.wolfsteller@intevation.de> + + * src/main/java/de/intevation/flys/client/server/ArtifactServiceImpl.java, + src/main/java/de/intevation/flys/client/server/BaseServlet.java: + Cosmetics, doc. + 2012-06-03 Felix Wolfsteller <felix.wolfsteller@intevation.de> * src/main/java/de/intevation/flys/client/server/GGinAFilter.java:
--- a/flys-client/src/main/java/de/intevation/flys/client/server/ArtifactServiceImpl.java Sun Jun 03 15:11:55 2012 +0000 +++ b/flys-client/src/main/java/de/intevation/flys/client/server/ArtifactServiceImpl.java Mon Jun 04 08:21:09 2012 +0000 @@ -20,6 +20,7 @@ extends RemoteServiceServlet implements ArtifactService { + /** Private logger. */ private static final Logger logger = Logger.getLogger(ArtifactServiceImpl.class); @@ -30,6 +31,7 @@ * * @param locale The locale used for HTTP request. * @param factory The factory that is used to create the new Artifact. + * @param recom Recommendation with details of the artifact to create. * * @return a new Artifact. */
--- a/flys-client/src/main/java/de/intevation/flys/client/server/BaseServlet.java Sun Jun 03 15:11:55 2012 +0000 +++ b/flys-client/src/main/java/de/intevation/flys/client/server/BaseServlet.java Mon Jun 04 08:21:09 2012 +0000 @@ -5,7 +5,7 @@ import org.apache.log4j.Logger; - +/** Documentation goes here. */ public class BaseServlet extends HttpServlet { private static Logger logger = Logger.getLogger(BaseServlet.class); @@ -25,6 +25,7 @@ } + /** Init servlet wide logging. */ protected void initLogging() { String log4jProperties = System.getenv(LOG4J_PROPERTIES); @@ -40,6 +41,7 @@ } + /** Set Context Attribute (parameter) from config.xml file. */ protected void initConfigParameters() { String url = getInitParameter("server-url"); logger.debug("Found server url: " + url);