jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ang...@apache.org
Subject svn commit: r629012 - /jackrabbit/trunk/jackrabbit-jcr-server/src/main/java/org/apache/jackrabbit/webdav/jcr/DefaultItemCollection.java
Date Tue, 19 Feb 2008 07:51:38 GMT
Author: angela
Date: Mon Feb 18 23:51:37 2008
New Revision: 629012

URL: http://svn.apache.org/viewvc?rev=629012&view=rev
Log:
JCR-1391: remove minor unneeded code stutter (Patch provided by Dave Brosius. Thanks!)

Modified:
    jackrabbit/trunk/jackrabbit-jcr-server/src/main/java/org/apache/jackrabbit/webdav/jcr/DefaultItemCollection.java

Modified: jackrabbit/trunk/jackrabbit-jcr-server/src/main/java/org/apache/jackrabbit/webdav/jcr/DefaultItemCollection.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-jcr-server/src/main/java/org/apache/jackrabbit/webdav/jcr/DefaultItemCollection.java?rev=629012&r1=629011&r2=629012&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-jcr-server/src/main/java/org/apache/jackrabbit/webdav/jcr/DefaultItemCollection.java
(original)
+++ jackrabbit/trunk/jackrabbit-jcr-server/src/main/java/org/apache/jackrabbit/webdav/jcr/DefaultItemCollection.java
Mon Feb 18 23:51:37 2008
@@ -148,10 +148,7 @@
         String ms = super.getSupportedMethods();
         if (isOrderable()) {
             StringBuffer sb = new StringBuffer(ms);
-            // Ordering
-            if (isOrderable()) {
-                sb.append(", ").append(OrderingResource.METHODS);
-            }
+            sb.append(", ").append(OrderingResource.METHODS);
             return sb.toString();
         } else {
             return ms;



Mime
View raw message