changeset 4663:fac54537db5b

Fix logging statments and use correct class name
author Björn Ricks <bjoern.ricks@intevation.de>
date Tue, 11 Dec 2012 16:26:50 +0100
parents 9220ab02f34f
children c2b431e3e88a
files flys-client/src/main/java/de/intevation/flys/client/server/CollectionHelper.java
diffstat 1 files changed, 10 insertions(+), 10 deletions(-) [+]
line wrap: on
line diff
--- 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!");

http://dive4elements.wald.intevation.org