Mercurial > dive4elements > river
changeset 2748:6717b4725ddf
Take advantage of refactorisation.
flys-artifacts/trunk@4483 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Felix Wolfsteller <felix.wolfsteller@intevation.de> |
---|---|
date | Wed, 23 May 2012 20:41:09 +0000 |
parents | 94c6f4ad9b98 |
children | 5eb3edb4f37b |
files | flys-artifacts/ChangeLog flys-artifacts/src/main/java/de/intevation/flys/artifacts/ExternalWMSArtifact.java |
diffstat | 2 files changed, 6 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/flys-artifacts/ChangeLog Wed May 23 20:39:18 2012 +0000 +++ b/flys-artifacts/ChangeLog Wed May 23 20:41:09 2012 +0000 @@ -1,3 +1,8 @@ +2012-05-23 Felix Wolfsteller <felix.wolfsteller@intevation.de> + + * src/main/java/de/intevation/flys/artifacts/ExternalWMSArtifact.java: + Use superclass static field and method. + 2012-05-23 Felix Wolfsteller <felix.wolfsteller@intevation.de> * src/main/java/de/intevation/flys/artifacts/model/RelativePointFacet.java:
--- a/flys-artifacts/src/main/java/de/intevation/flys/artifacts/ExternalWMSArtifact.java Wed May 23 20:39:18 2012 +0000 +++ b/flys-artifacts/src/main/java/de/intevation/flys/artifacts/ExternalWMSArtifact.java Wed May 23 20:41:09 2012 +0000 @@ -23,8 +23,6 @@ public class ExternalWMSArtifact extends StaticFLYSArtifact { - public static final String XPATH_IDS = "/art:action/art:ids/@value"; - public static final String NAME = "external_wms"; private static final Logger logger = @@ -49,8 +47,7 @@ super.setup(identifier, factory, context, callMeta, data); - String ids = XMLUtils.xpathString( - data, XPATH_IDS, ArtifactNamespaceContext.INSTANCE); + String ids = getDatacageIDValue(data); if (ids != null && ids.length() > 0) { addStringData("ids", ids);