Mercurial > dive4elements > river
comparison flys-artifacts/src/main/java/de/intevation/flys/artifacts/context/FLYSContextFactory.java @ 2141:79a94c4171cb
Cosmetics.
flys-artifacts/trunk@3719 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Felix Wolfsteller <felix.wolfsteller@intevation.de> |
---|---|
date | Thu, 19 Jan 2012 13:01:33 +0000 |
parents | 9562ca537143 |
children | 83b22ccf48da |
comparison
equal
deleted
inserted
replaced
2140:3d73109005b8 | 2141:79a94c4171cb |
---|---|
118 | 118 |
119 NodeList list = (NodeList) XMLUtils.xpath( | 119 NodeList list = (NodeList) XMLUtils.xpath( |
120 doc, XPATH_TRANSITIONS, XPathConstants.NODESET); | 120 doc, XPATH_TRANSITIONS, XPathConstants.NODESET); |
121 | 121 |
122 if (list == null) { | 122 if (list == null) { |
123 logger.warn("The artifact has no transitions configured."); | 123 logger.warn("The artifact " + artName + |
124 " has no transitions configured."); | |
124 continue; | 125 continue; |
125 } | 126 } |
126 | 127 |
127 int trans = list.getLength(); | 128 int trans = list.getLength(); |
128 | 129 |
191 | 192 |
192 NodeList stateList = (NodeList) XMLUtils.xpath( | 193 NodeList stateList = (NodeList) XMLUtils.xpath( |
193 doc, XPATH_STATES, XPathConstants.NODESET); | 194 doc, XPATH_STATES, XPathConstants.NODESET); |
194 | 195 |
195 if (stateList == null) { | 196 if (stateList == null) { |
196 logger.warn("The artifact has no states configured."); | 197 logger.warn("The artifact " + artName + |
198 " has no states configured."); | |
197 continue; | 199 continue; |
198 } | 200 } |
199 | 201 |
200 int count = stateList.getLength(); | 202 int count = stateList.getLength(); |
201 | 203 |