jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ang...@apache.org
Subject svn commit: r385492 - in /incubator/jackrabbit/trunk/jcr-server/webdav/src/java/org/apache/jackrabbit/webdav/property: DavPropertyNameSet.java DavPropertySet.java
Date Mon, 13 Mar 2006 10:17:14 GMT
Author: angela
Date: Mon Mar 13 02:17:12 2006
New Revision: 385492

URL: http://svn.apache.org/viewcvs?rev=385492&view=rev
Log:
adding log and minimal debug output

Modified:
    incubator/jackrabbit/trunk/jcr-server/webdav/src/java/org/apache/jackrabbit/webdav/property/DavPropertyNameSet.java
    incubator/jackrabbit/trunk/jcr-server/webdav/src/java/org/apache/jackrabbit/webdav/property/DavPropertySet.java

Modified: incubator/jackrabbit/trunk/jcr-server/webdav/src/java/org/apache/jackrabbit/webdav/property/DavPropertyNameSet.java
URL: http://svn.apache.org/viewcvs/incubator/jackrabbit/trunk/jcr-server/webdav/src/java/org/apache/jackrabbit/webdav/property/DavPropertyNameSet.java?rev=385492&r1=385491&r2=385492&view=diff
==============================================================================
--- incubator/jackrabbit/trunk/jcr-server/webdav/src/java/org/apache/jackrabbit/webdav/property/DavPropertyNameSet.java
(original)
+++ incubator/jackrabbit/trunk/jcr-server/webdav/src/java/org/apache/jackrabbit/webdav/property/DavPropertyNameSet.java
Mon Mar 13 02:17:12 2006
@@ -128,8 +128,9 @@
         if (contentEntry instanceof DavPropertyName) {
             return add((DavPropertyName)contentEntry);
         }
-            return false;
-        }
+        log.debug("DavPropertyName object expected. Found: " + contentEntry.getClass().toString());
+        return false;
+    }
 
     /**
      * @see PropContainer#isEmpty()

Modified: incubator/jackrabbit/trunk/jcr-server/webdav/src/java/org/apache/jackrabbit/webdav/property/DavPropertySet.java
URL: http://svn.apache.org/viewcvs/incubator/jackrabbit/trunk/jcr-server/webdav/src/java/org/apache/jackrabbit/webdav/property/DavPropertySet.java?rev=385492&r1=385491&r2=385492&view=diff
==============================================================================
--- incubator/jackrabbit/trunk/jcr-server/webdav/src/java/org/apache/jackrabbit/webdav/property/DavPropertySet.java
(original)
+++ incubator/jackrabbit/trunk/jcr-server/webdav/src/java/org/apache/jackrabbit/webdav/property/DavPropertySet.java
Mon Mar 13 02:17:12 2006
@@ -16,6 +16,7 @@
 package org.apache.jackrabbit.webdav.property;
 
 import org.apache.jackrabbit.webdav.xml.Namespace;
+import org.apache.log4j.Logger;
 
 import java.util.HashMap;
 import java.util.Map;
@@ -30,6 +31,8 @@
  */
 public class DavPropertySet extends PropContainer {
 
+    private static Logger log = Logger.getLogger(DavPropertySet.class);
+
     /**
      * the set of property
      */
@@ -183,6 +186,7 @@
             add((DavProperty)contentEntry);
             return true;
         }
+        log.debug("DavProperty object expected. Found: " + contentEntry.getClass().toString());
         return false;
     }
 



Mime
View raw message