Mercurial > dive4elements > river
comparison flys-artifacts/src/main/java/de/intevation/flys/artifacts/context/FLYSContextFactory.java @ 4051:58bdf95df5e4
More dead code removal. Minor code clean ups.
author | Sascha L. Teichmann <teichmann@intevation.de> |
---|---|
date | Sat, 06 Oct 2012 13:19:44 +0200 |
parents | 28be160b5870 |
children | 05c9902c761d |
comparison
equal
deleted
inserted
replaced
4050:975f608dd254 | 4051:58bdf95df5e4 |
---|---|
117 | 117 |
118 Document[] artifacts = getArtifactConfigurations(config); | 118 Document[] artifacts = getArtifactConfigurations(config); |
119 logger.info("Found " + artifacts.length + " artifacts in the config."); | 119 logger.info("Found " + artifacts.length + " artifacts in the config."); |
120 | 120 |
121 for (Document doc: artifacts) { | 121 for (Document doc: artifacts) { |
122 List<Transition> transitions = new ArrayList<Transition>(); | |
123 | 122 |
124 String artName = (String) XMLUtils.xpath( | 123 String artName = (String) XMLUtils.xpath( |
125 doc, XPATH_ARTIFACT_NAME, XPathConstants.STRING); | 124 doc, XPATH_ARTIFACT_NAME, XPathConstants.STRING); |
126 | 125 |
127 NodeList list = (NodeList) XMLUtils.xpath( | 126 NodeList list = (NodeList) XMLUtils.xpath( |