jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ang...@apache.org
Subject svn commit: r1182314 - /jackrabbit/trunk/jackrabbit-spi2dav/src/test/java/org/apache/jackrabbit/spi2dav/DavPropertyTest.java
Date Wed, 12 Oct 2011 11:21:14 GMT
Author: angela
Date: Wed Oct 12 11:21:13 2011
New Revision: 1182314

URL: http://svn.apache.org/viewvc?rev=1182314&view=rev
Log:
minor improvement

Modified:
    jackrabbit/trunk/jackrabbit-spi2dav/src/test/java/org/apache/jackrabbit/spi2dav/DavPropertyTest.java

Modified: jackrabbit/trunk/jackrabbit-spi2dav/src/test/java/org/apache/jackrabbit/spi2dav/DavPropertyTest.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-spi2dav/src/test/java/org/apache/jackrabbit/spi2dav/DavPropertyTest.java?rev=1182314&r1=1182313&r2=1182314&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-spi2dav/src/test/java/org/apache/jackrabbit/spi2dav/DavPropertyTest.java
(original)
+++ jackrabbit/trunk/jackrabbit-spi2dav/src/test/java/org/apache/jackrabbit/spi2dav/DavPropertyTest.java
Wed Oct 12 11:21:13 2011
@@ -314,7 +314,7 @@ public class DavPropertyTest extends Abs
          */
         assertPropertyNames(expected, set);
 
-        DavPropertyNameSet all = doPropFindAll(uri.toString());
+        DavPropertyNameSet all = doPropFindAll(uri);
         expected.remove(DeltaVConstants.COMMENT);
         expected.remove(DeltaVConstants.CREATOR_DISPLAYNAME);
         expected.remove(DeltaVConstants.SUPPORTED_METHOD_SET);
@@ -355,7 +355,7 @@ public class DavPropertyTest extends Abs
         props.add(ObservationConstants.SUBSCRIPTIONDISCOVERY);
         props.add(JCR_DEFINITION);
         props.add(JCR_LENGTH);
-        DavPropertyNameSet result = doPropFindByProp(uri.toString(), props);
+        DavPropertyNameSet result = doPropFindByProp(uri, props);
         assertPropertyNames(props, result);
     }
 
@@ -397,7 +397,7 @@ public class DavPropertyTest extends Abs
          */
         assertPropertyNames(expected, set);
 
-        DavPropertyNameSet all = doPropFindAll(uri.toString());
+        DavPropertyNameSet all = doPropFindAll(uri);
         expected.remove(DeltaVConstants.COMMENT);
         expected.remove(DeltaVConstants.CREATOR_DISPLAYNAME);
         expected.remove(DeltaVConstants.SUPPORTED_METHOD_SET);
@@ -438,7 +438,7 @@ public class DavPropertyTest extends Abs
         props.add(ObservationConstants.SUBSCRIPTIONDISCOVERY);
         props.add(JCR_DEFINITION);
         props.add(JCR_LENGTHS);
-        DavPropertyNameSet result = doPropFindByProp(uri.toString(), props);
+        DavPropertyNameSet result = doPropFindByProp(uri, props);
         assertPropertyNames(props, result);
     }
 
@@ -482,7 +482,7 @@ public class DavPropertyTest extends Abs
         */
         assertPropertyNames(expected, set);
 
-        DavPropertyNameSet all = doPropFindAll(uri.toString());
+        DavPropertyNameSet all = doPropFindAll(uri);
         expected.remove(DeltaVConstants.COMMENT);
         expected.remove(DeltaVConstants.CREATOR_DISPLAYNAME);
         expected.remove(DeltaVConstants.SUPPORTED_METHOD_SET);
@@ -528,7 +528,7 @@ public class DavPropertyTest extends Abs
         props.add(JCR_INDEX);
         props.add(JCR_REFERENCES);
         props.add(JCR_WEAK_REFERENCES);
-        DavPropertyNameSet result = doPropFindByProp(uri.toString(), props);
+        DavPropertyNameSet result = doPropFindByProp(uri, props);
         assertPropertyNames(props, result);
     }
 
@@ -574,7 +574,7 @@ public class DavPropertyTest extends Abs
         */
         assertPropertyNames(expected, set);
 
-        DavPropertyNameSet all = doPropFindAll(uri.toString());
+        DavPropertyNameSet all = doPropFindAll(uri);
         expected.remove(DeltaVConstants.COMMENT);
         expected.remove(DeltaVConstants.CREATOR_DISPLAYNAME);
         expected.remove(DeltaVConstants.SUPPORTED_METHOD_SET);
@@ -621,7 +621,7 @@ public class DavPropertyTest extends Abs
         props.add(JCR_INDEX);
         props.add(JCR_REFERENCES);
         props.add(JCR_WEAK_REFERENCES);
-        DavPropertyNameSet result = doPropFindByProp(uri.toString(), props);
+        DavPropertyNameSet result = doPropFindByProp(uri, props);
         assertPropertyNames(props, result);
     }
 
@@ -674,7 +674,7 @@ public class DavPropertyTest extends Abs
         */
         assertPropertyNames(expected, set);
 
-        DavPropertyNameSet all = doPropFindAll(uri.toString());
+        DavPropertyNameSet all = doPropFindAll(uri);
         expected.remove(DeltaVConstants.COMMENT);
         expected.remove(DeltaVConstants.CREATOR_DISPLAYNAME);
         expected.remove(DeltaVConstants.SUPPORTED_METHOD_SET);
@@ -723,7 +723,7 @@ public class DavPropertyTest extends Abs
         props.add(JCR_REFERENCES);
         props.add(JCR_WEAK_REFERENCES);
         props.add(JCR_UUID);
-        DavPropertyNameSet result = doPropFindByProp(uri.toString(), props);
+        DavPropertyNameSet result = doPropFindByProp(uri, props);
         assertPropertyNames(props, result);
     }
 
@@ -794,7 +794,7 @@ public class DavPropertyTest extends Abs
         */
         assertPropertyNames(expected, set);
 
-        DavPropertyNameSet all = doPropFindAll(uri.toString());
+        DavPropertyNameSet all = doPropFindAll(uri);
         expected.remove(DeltaVConstants.COMMENT);
         expected.remove(DeltaVConstants.CREATOR_DISPLAYNAME);
         expected.remove(DeltaVConstants.SUPPORTED_METHOD_SET);
@@ -841,7 +841,7 @@ public class DavPropertyTest extends Abs
         props.add(JCR_REFERENCES);
         props.add(JCR_WEAK_REFERENCES);
         props.add(JCR_PRIMARYITEM);
-        DavPropertyNameSet result = doPropFindByProp(uri.toString(), props);
+        DavPropertyNameSet result = doPropFindByProp(uri, props);
         assertPropertyNames(props, result);
     }
 
@@ -901,7 +901,7 @@ public class DavPropertyTest extends Abs
         */
         assertPropertyNames(expected, set);
 
-        DavPropertyNameSet all = doPropFindAll(uri.toString());
+        DavPropertyNameSet all = doPropFindAll(uri);
         expected.remove(DeltaVConstants.COMMENT);
         expected.remove(DeltaVConstants.CREATOR_DISPLAYNAME);
         expected.remove(DeltaVConstants.SUPPORTED_METHOD_SET);
@@ -957,7 +957,7 @@ public class DavPropertyTest extends Abs
         props.add(VersionControlledResource.CHECKED_OUT);
         props.add(VersionControlledResource.PREDECESSOR_SET);
         props.add(VersionControlledResource.VERSION_HISTORY);
-        DavPropertyNameSet result = doPropFindByProp(uri.toString(), props);
+        DavPropertyNameSet result = doPropFindByProp(uri, props);
         assertPropertyNames(props, result);
     }
 
@@ -1017,7 +1017,7 @@ public class DavPropertyTest extends Abs
         */
         assertPropertyNames(expected, set);
 
-        DavPropertyNameSet all = doPropFindAll(uri.toString());
+        DavPropertyNameSet all = doPropFindAll(uri);
         expected.remove(DeltaVConstants.COMMENT);
         expected.remove(DeltaVConstants.CREATOR_DISPLAYNAME);
         expected.remove(DeltaVConstants.SUPPORTED_METHOD_SET);
@@ -1072,7 +1072,7 @@ public class DavPropertyTest extends Abs
         props.add(JCR_UUID);
         props.add(VersionControlledResource.CHECKED_IN);
         props.add(VersionControlledResource.VERSION_HISTORY);
-        DavPropertyNameSet result = doPropFindByProp(uri.toString(), props);
+        DavPropertyNameSet result = doPropFindByProp(uri, props);
         assertPropertyNames(props, result);
     }
 
@@ -1131,7 +1131,7 @@ public class DavPropertyTest extends Abs
         */
         assertPropertyNames(expected, set);
 
-        DavPropertyNameSet all = doPropFindAll(uri.toString());
+        DavPropertyNameSet all = doPropFindAll(uri);
         expected.remove(DeltaVConstants.COMMENT);
         expected.remove(DeltaVConstants.CREATOR_DISPLAYNAME);
         expected.remove(DeltaVConstants.SUPPORTED_METHOD_SET);
@@ -1190,7 +1190,7 @@ public class DavPropertyTest extends Abs
         props.add(VersionResource.SUCCESSOR_SET);
         props.add(VersionResource.VERSION_HISTORY);
         props.add(VersionResource.CHECKOUT_SET);
-        DavPropertyNameSet result = doPropFindByProp(uri.toString(), props);
+        DavPropertyNameSet result = doPropFindByProp(uri, props);
         assertPropertyNames(props, result);
     }
 
@@ -1247,7 +1247,7 @@ public class DavPropertyTest extends Abs
         */
         assertPropertyNames(expected, set);
 
-        DavPropertyNameSet all = doPropFindAll(uri.toString());
+        DavPropertyNameSet all = doPropFindAll(uri);
         expected.remove(DeltaVConstants.COMMENT);
         expected.remove(DeltaVConstants.CREATOR_DISPLAYNAME);
         expected.remove(DeltaVConstants.SUPPORTED_METHOD_SET);
@@ -1299,7 +1299,7 @@ public class DavPropertyTest extends Abs
         props.add(JCR_UUID);
         props.add(VersionHistoryResource.ROOT_VERSION);
         props.add(VersionHistoryResource.VERSION_SET);
-        DavPropertyNameSet result = doPropFindByProp(uri.toString(), props);
+        DavPropertyNameSet result = doPropFindByProp(uri, props);
         assertPropertyNames(props, result);
     }
 



Mime
View raw message