jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ang...@apache.org
Subject svn commit: r397932 - /jackrabbit/trunk/jcr-server/webdav/src/java/org/apache/jackrabbit/webdav/version/report/LocateByHistoryReport.java
Date Fri, 28 Apr 2006 15:50:18 GMT
Author: angela
Date: Fri Apr 28 08:50:16 2006
New Revision: 397932

URL: http://svn.apache.org/viewcvs?rev=397932&view=rev
Log:
DomUtil.getText returns null if element contains no text.

Modified:
    jackrabbit/trunk/jcr-server/webdav/src/java/org/apache/jackrabbit/webdav/version/report/LocateByHistoryReport.java

Modified: jackrabbit/trunk/jcr-server/webdav/src/java/org/apache/jackrabbit/webdav/version/report/LocateByHistoryReport.java
URL: http://svn.apache.org/viewcvs/jackrabbit/trunk/jcr-server/webdav/src/java/org/apache/jackrabbit/webdav/version/report/LocateByHistoryReport.java?rev=397932&r1=397931&r2=397932&view=diff
==============================================================================
--- jackrabbit/trunk/jcr-server/webdav/src/java/org/apache/jackrabbit/webdav/version/report/LocateByHistoryReport.java
(original)
+++ jackrabbit/trunk/jcr-server/webdav/src/java/org/apache/jackrabbit/webdav/version/report/LocateByHistoryReport.java
Fri Apr 28 08:50:16 2006
@@ -92,7 +92,7 @@
         ElementIterator it = DomUtil.getChildren(versionHistorySet, DavConstants.XML_HREF,
DavConstants.NAMESPACE);
         while (it.hasNext()) {
             String href = DomUtil.getText(it.nextElement());
-            if (href != null && !"".equals(href)) {
+            if (href != null) {
                 vhHrefSet.add(href);
             }
         }



Mime
View raw message