Mercurial > dive4elements > river
changeset 6135:804e50149d6a
Print the complete collection in parseCollection
This can be extremly helpful as it allows you to debug the full
state of a collection
author | Andre Heinecke <aheinecke@intevation.de> |
---|---|
date | Fri, 31 May 2013 15:19:32 +0200 |
parents | 69f95a016308 |
children | 8d9859d776e5 |
files | gwt-client/src/main/java/org/dive4elements/river/client/server/CollectionHelper.java |
diffstat | 1 files changed, 2 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/gwt-client/src/main/java/org/dive4elements/river/client/server/CollectionHelper.java Thu May 30 15:15:02 2013 +0200 +++ b/gwt-client/src/main/java/org/dive4elements/river/client/server/CollectionHelper.java Fri May 31 15:19:32 2013 +0200 @@ -403,6 +403,8 @@ public static Collection parseCollection(Document description) { logger.debug("CollectionHelper.parseCollection"); + logger.debug(XMLUtils.toString(description)); + if (description == null) { logger.warn("The DESCRIBE of the Collection is null!"); return null;