Mercurial > dive4elements > river
comparison flys-artifacts/src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java @ 3442:cd5eb8f5f6f1
Cosmetics, docs.
flys-artifacts/trunk@5105 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Felix Wolfsteller <felix.wolfsteller@intevation.de> |
---|---|
date | Mon, 23 Jul 2012 14:57:27 +0000 |
parents | 118fe1cc8cc8 |
children | 200e70f31f6f |
comparison
equal
deleted
inserted
replaced
3441:bfbd478bd607 | 3442:cd5eb8f5f6f1 |
---|---|
218 | 218 |
219 /** | 219 /** |
220 * Merge the recommendations which have already been loaded from the old | 220 * Merge the recommendations which have already been loaded from the old |
221 * attribute document into the new attribute document. This is necessary, | 221 * attribute document into the new attribute document. This is necessary, |
222 * because mergeAttributes() only merges the art:outputs nodes - all | 222 * because mergeAttributes() only merges the art:outputs nodes - all |
223 * other nodes are skiped. | 223 * other nodes are skipped. |
224 */ | 224 */ |
225 protected Node getLoadedRecommendations(Document oldAttrs) { | 225 protected Node getLoadedRecommendations(Document oldAttrs) { |
226 Element loadedRecoms = (Element) XMLUtils.xpath( | 226 Element loadedRecoms = (Element) XMLUtils.xpath( |
227 oldAttrs, | 227 oldAttrs, |
228 XPATH_LOADED_RECOMMENDATIONS, | 228 XPATH_LOADED_RECOMMENDATIONS, |
602 | 602 |
603 return persistent != null ? persistent.getArtifact() : null; | 603 return persistent != null ? persistent.getArtifact() : null; |
604 } | 604 } |
605 | 605 |
606 | 606 |
607 | |
608 | |
609 } | 607 } |
610 // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 : | 608 // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 : |