# HG changeset patch # User Felix Wolfsteller # Date 1337805669 0 # Node ID 6717b4725ddf2491bb96afe0c0c0c1bd332b3cd5 # Parent 94c6f4ad9b9889c5035d737b42ba12ffb0ea90fe Take advantage of refactorisation. flys-artifacts/trunk@4483 c6561f87-3c4e-4783-a992-168aeb5c3f6f diff -r 94c6f4ad9b98 -r 6717b4725ddf flys-artifacts/ChangeLog --- 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 + + * src/main/java/de/intevation/flys/artifacts/ExternalWMSArtifact.java: + Use superclass static field and method. + 2012-05-23 Felix Wolfsteller * src/main/java/de/intevation/flys/artifacts/model/RelativePointFacet.java: diff -r 94c6f4ad9b98 -r 6717b4725ddf flys-artifacts/src/main/java/de/intevation/flys/artifacts/ExternalWMSArtifact.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);