[Dive4elements-commits] [PATCH 7 of 7] Fix logging statments and use correct class name

Wald Commits scm-commit at wald.intevation.org
Tue Dec 11 16:27:42 CET 2012


# HG changeset patch
# User Björn Ricks <bjoern.ricks at intevation.de>
# Date 1355239610 -3600
# Node ID fac54537db5b3b82a3dfd33d9e5203e1f32afd76
# Parent  9220ab02f34f00169580b81e5c2bebfdfc25f99a
Fix logging statments and use correct class name

diff -r 9220ab02f34f -r fac54537db5b flys-client/src/main/java/de/intevation/flys/client/server/CollectionHelper.java
--- a/flys-client/src/main/java/de/intevation/flys/client/server/CollectionHelper.java	Tue Dec 11 16:26:12 2012 +0100
+++ b/flys-client/src/main/java/de/intevation/flys/client/server/CollectionHelper.java	Tue Dec 11 16:26:50 2012 +0100
@@ -393,7 +393,7 @@
      * @return a Collection with CollectionItems.
      */
     public static Collection parseCollection(Document description) {
-        logger.debug("AddArtifactServiceImpl.parseCollection");
+        logger.debug("CollectionHelper.parseCollection");
 
         if (description == null) {
             logger.warn("The DESCRIBE of the Collection is null!");
@@ -487,7 +487,7 @@
     protected static Map<String, ThemeList> parseThemeLists(
         Document desc, Map<String, CollectionItem> collectionItems
     ) {
-        logger.debug("DescribeCollectionServiceImpl.parseThemeLists");
+        logger.debug("CollectionHelper.parseThemeLists");
 
         NodeList lists = (NodeList) XMLUtils.xpath(
             desc,
@@ -526,7 +526,7 @@
     protected static ThemeList parseThemeList(
         Element node, Map<String, CollectionItem> collectionItems
     ) {
-        logger.debug("DescribeCollectionServiceImpl.parseThemeList");
+        logger.debug("CollectionHelper.parseThemeList");
 
         NodeList themes = node.getElementsByTagNameNS(
             ArtifactNamespaceContext.NAMESPACE_URI,
@@ -550,7 +550,7 @@
 
 
     protected static Theme parseTheme(Element ele) {
-        logger.debug("DescribeCollectionServiceImpl.parseTheme");
+        logger.debug("CollectionHelper.parseTheme");
 
         String uri = ArtifactNamespaceContext.NAMESPACE_URI;
 
@@ -774,7 +774,7 @@
      * @return a list of OutputModes.
      */
     protected static List<OutputMode> parseOutputModes(Element node) {
-        logger.debug("AddArtifactServiceImpl.parseOutputModes");
+        logger.debug("CollectionHelper.parseOutputModes");
 
         if (node == null) {
             logger.debug("The node for parsing OutputModes is null!");
@@ -841,7 +841,7 @@
      * Create a Key/Value map for data nodes of artifact/collectionitem.
      */
     protected static HashMap<String, String> parseDataItems(Element node) {
-        logger.debug("AddArtifactServiceImpl.parseDataItems");
+        logger.debug("CollectionHelper.parseDataItems");
 
         if (node == null) {
             logger.debug("The node for parsing DataItems is null!");
@@ -916,7 +916,7 @@
     }
 
     protected static List<Facet> extractFacets(Element outmode) {
-        logger.debug("DescribeCollectionServiceImpl - extractFacets()");
+        logger.debug("CollectionHelper - extractFacets()");
 
         NodeList facetList = (NodeList) XMLUtils.xpath(
             outmode,
@@ -947,7 +947,7 @@
 
 
     public static List<Recommendation> parseRecommendations(Document doc) {
-        logger.debug("DescribeCollectionServiceImpl.parseRecommendations");
+        logger.debug("CollectionHelper.parseRecommendations");
 
         NodeList list = (NodeList) XMLUtils.xpath(
             doc,
@@ -988,7 +988,7 @@
         String     locale)
     throws ServerException
     {
-        logger.debug("Collection.addArtifact");
+        logger.debug("CollectionHelper.addArtifact");
 
         if (collection == null) {
             logger.warn("The given Collection is null!");
@@ -1040,7 +1040,7 @@
         String     locale)
     throws ServerException
     {
-        logger.debug("Collection.removeArtifact");
+        logger.debug("CollectionHelper.removeArtifact");
 
         if (collection == null) {
             logger.warn("The given Collection is null!");


More information about the Dive4elements-commits mailing list