Mercurial > dive4elements > river
changeset 2940:2867a0192aed
Cosmetics, whitespaces, docs.
flys-client/trunk@4897 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Felix Wolfsteller <felix.wolfsteller@intevation.de> |
---|---|
date | Sun, 08 Jul 2012 09:37:45 +0000 |
parents | 8e6b1df7c3b0 |
children | 9cff19a02743 |
files | flys-client/src/main/java/de/intevation/flys/client/client/ui/chart/ChartPropertiesEditor.java flys-client/src/main/java/de/intevation/flys/client/server/ChartOutputServiceImpl.java flys-client/src/main/java/de/intevation/flys/client/server/RiverServiceImpl.java |
diffstat | 3 files changed, 9 insertions(+), 9 deletions(-) [+] |
line wrap: on
line diff
--- a/flys-client/src/main/java/de/intevation/flys/client/client/ui/chart/ChartPropertiesEditor.java Sun Jul 08 08:28:14 2012 +0000 +++ b/flys-client/src/main/java/de/intevation/flys/client/client/ui/chart/ChartPropertiesEditor.java Sun Jul 08 09:37:45 2012 +0000 @@ -58,6 +58,7 @@ /** The interface that provides i18n messages. */ protected FLYSConstants MSG = GWT.create(FLYSConstants.class); + /** CollectionAttribute Update Service. */ protected CollectionAttributeServiceAsync updater = GWT.create(CollectionAttributeService.class); @@ -88,6 +89,7 @@ init(); } + /** * Initialize the editor window and its components. */ @@ -294,9 +296,6 @@ } - /** - * - */ protected FormItem createStringProperty(final StringProperty sp) { String name = sp.getName(); if (name.contains("-")) {
--- a/flys-client/src/main/java/de/intevation/flys/client/server/ChartOutputServiceImpl.java Sun Jul 08 08:28:14 2012 +0000 +++ b/flys-client/src/main/java/de/intevation/flys/client/server/ChartOutputServiceImpl.java Sun Jul 08 09:37:45 2012 +0000 @@ -39,11 +39,11 @@ try { OutputStream out = resp.getOutputStream(); - String url = getServletContext().getInitParameter("server-url"); + String url = getServletContext().getInitParameter("server-url"); - String uuid = req.getParameter("uuid"); - String type = req.getParameter("type"); - String locale = req.getParameter("locale"); + String uuid = req.getParameter("uuid"); + String type = req.getParameter("type"); + String locale = req.getParameter("locale"); prepareHeader(req, resp);
--- a/flys-client/src/main/java/de/intevation/flys/client/server/RiverServiceImpl.java Sun Jul 08 08:28:14 2012 +0000 +++ b/flys-client/src/main/java/de/intevation/flys/client/server/RiverServiceImpl.java Sun Jul 08 09:37:45 2012 +0000 @@ -36,10 +36,10 @@ extends RemoteServiceServlet implements RiverService { + /** Private logger. */ private static final Logger logger = Logger.getLogger(RiverServiceImpl.class); - /** The XPath string that points to the rivers in the resulting document.*/ public static final String XPATH_RIVERS = "/art:rivers/art:river"; @@ -48,12 +48,13 @@ public static final String ERROR_NO_RIVERS_FOUND = "error_no_rivers_found"; + /** Get river list. */ public River[] list(String locale) throws ServerException { String url = getServletContext().getInitParameter("server-url"); - Document doc = XMLUtils.newDocument(); + Document doc = XMLUtils.newDocument(); XMLUtils.ElementCreator ec = new XMLUtils.ElementCreator( doc,