Mercurial > dive4elements > river
changeset 6141:63975955ec61
Guard the collection describe debug output
author | Andre Heinecke <aheinecke@intevation.de> |
---|---|
date | Fri, 31 May 2013 15:43:14 +0200 |
parents | 60b94dec104b |
children | a8adf19fbde3 |
files | gwt-client/src/main/java/org/dive4elements/river/client/server/CollectionHelper.java |
diffstat | 1 files changed, 3 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/gwt-client/src/main/java/org/dive4elements/river/client/server/CollectionHelper.java Fri May 31 15:29:30 2013 +0200 +++ b/gwt-client/src/main/java/org/dive4elements/river/client/server/CollectionHelper.java Fri May 31 15:43:14 2013 +0200 @@ -403,7 +403,9 @@ public static Collection parseCollection(Document description) { logger.debug("CollectionHelper.parseCollection"); - logger.debug(XMLUtils.toString(description)); + if (logger.isDebugEnabled()) { + logger.debug(XMLUtils.toString(description)); + } if (description == null) { logger.warn("The DESCRIBE of the Collection is null!");