Mercurial > dive4elements > river
comparison artifacts/src/main/java/org/dive4elements/river/artifacts/context/RiverContextFactory.java @ 8093:c27c04030a8d
Revert accidental change.
This is now already handled in a better way.
author | Andre Heinecke <andre.heinecke@intevation.de> |
---|---|
date | Fri, 15 Aug 2014 18:09:47 +0200 |
parents | 2fcbcc9bb59a |
children | 1ccbd7f81c7d |
comparison
equal
deleted
inserted
replaced
8092:7d4be7a6a2b1 | 8093:c27c04030a8d |
---|---|
259 for (int i = 0; i < count; i++) { | 259 for (int i = 0; i < count; i++) { |
260 Element tmp = (Element) artifacts.item(i); | 260 Element tmp = (Element) artifacts.item(i); |
261 | 261 |
262 String xlink = tmp.getAttribute(XPATH_XLINK); | 262 String xlink = tmp.getAttribute(XPATH_XLINK); |
263 xlink = Config.replaceConfigDir(xlink); | 263 xlink = Config.replaceConfigDir(xlink); |
264 if (xlink.isEmpty()) { | |
265 continue; | |
266 } | |
267 | 264 |
268 File file = new File(xlink); | 265 File file = new File(xlink); |
269 if (!file.isFile() || !file.canRead()) { | 266 if (!file.isFile() || !file.canRead()) { |
270 logger.warn("Artifact configuration '" + file + "' not found."); | 267 logger.warn("Artifact configuration '" + file + "' not found."); |
271 continue; | 268 continue; |