diff flys-client/src/main/java/de/intevation/flys/client/server/FixingsOverviewServiceImpl.java @ 2536:256b458cc7ea

Changed data field 'name' to 'description' in fix overview. flys-client/trunk@4448 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Raimund Renkert <raimund.renkert@intevation.de>
date Mon, 21 May 2012 09:17:24 +0000
parents 87ac5c532523
children d20f16a430a9
line wrap: on
line diff
--- a/flys-client/src/main/java/de/intevation/flys/client/server/FixingsOverviewServiceImpl.java	Mon May 21 08:48:16 2012 +0000
+++ b/flys-client/src/main/java/de/intevation/flys/client/server/FixingsOverviewServiceImpl.java	Mon May 21 09:17:24 2012 +0000
@@ -55,7 +55,7 @@
 
     protected static final String XPATH_CID = "@cid";
     protected static final String XPATH_DATE = "@date";
-    protected static final String XPATH_NAME = "@name";
+    protected static final String XPATH_DESCRIPTION = "@description";
     protected static final String XPATH_CLS = "@class";
     protected static final String XPATH_FROM = "@from";
     protected static final String XPATH_TO = "@to";
@@ -172,7 +172,7 @@
             String cid = XMLUtils.xpathString(n, XPATH_CID, null);
             log.debug("'" + cid + "'");
             String date = XMLUtils.xpathString(n, XPATH_DATE, null);
-            String name = XMLUtils.xpathString(n, XPATH_NAME, null);
+            String name = XMLUtils.xpathString(n, XPATH_DESCRIPTION, null);
             list.add(new FixEvent(
                 cid,
                 date,

http://dive4elements.wald.intevation.org