[Dive4elements-commits] [PATCH 1 of 6] Print the complete collection in parseCollection

Wald Commits scm-commit at wald.intevation.org
Fri May 31 15:30:21 CEST 2013


# HG changeset patch
# User Andre Heinecke <aheinecke at intevation.de>
# Date 1370006372 -7200
# Node ID 804e50149d6ad0bdba933a1023a1fd98d75a524f
# Parent  69f95a0163088cfab69602da03e56b66615303d8
Print the complete collection in parseCollection

    This can be extremly helpful as it allows you to debug the full
    state of a collection

diff -r 69f95a016308 -r 804e50149d6a gwt-client/src/main/java/org/dive4elements/river/client/server/CollectionHelper.java
--- 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;


More information about the Dive4elements-commits mailing list