sling-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cziege...@apache.org
Subject svn commit: r933683 - /sling/trunk/bundles/jcr/resource/src/main/java/org/apache/sling/jcr/resource/internal/helper/jcr/JcrNodeResource.java
Date Tue, 13 Apr 2010 15:42:08 GMT
Author: cziegeler
Date: Tue Apr 13 15:42:07 2010
New Revision: 933683

URL: http://svn.apache.org/viewvc?rev=933683&view=rev
Log:
SLING-1486 : JcrNodeResource.toString should not search super resource type but return it's
own resource super type

Modified:
    sling/trunk/bundles/jcr/resource/src/main/java/org/apache/sling/jcr/resource/internal/helper/jcr/JcrNodeResource.java

Modified: sling/trunk/bundles/jcr/resource/src/main/java/org/apache/sling/jcr/resource/internal/helper/jcr/JcrNodeResource.java
URL: http://svn.apache.org/viewvc/sling/trunk/bundles/jcr/resource/src/main/java/org/apache/sling/jcr/resource/internal/helper/jcr/JcrNodeResource.java?rev=933683&r1=933682&r2=933683&view=diff
==============================================================================
--- sling/trunk/bundles/jcr/resource/src/main/java/org/apache/sling/jcr/resource/internal/helper/jcr/JcrNodeResource.java
(original)
+++ sling/trunk/bundles/jcr/resource/src/main/java/org/apache/sling/jcr/resource/internal/helper/jcr/JcrNodeResource.java
Tue Apr 13 15:42:07 2010
@@ -43,7 +43,6 @@ import org.apache.sling.api.resource.Per
 import org.apache.sling.api.resource.Resource;
 import org.apache.sling.api.resource.ResourceMetadata;
 import org.apache.sling.api.resource.ResourceResolver;
-import org.apache.sling.api.resource.ResourceUtil;
 import org.apache.sling.api.resource.ValueMap;
 import org.apache.sling.jcr.resource.JcrModifiablePropertyMap;
 import org.apache.sling.jcr.resource.JcrPropertyMap;
@@ -145,7 +144,7 @@ public class JcrNodeResource extends Jcr
     public String toString() {
         return getClass().getSimpleName()
         	+ ", type=" + getResourceType()
-        	+ ", superType=" + ResourceUtil.findResourceSuperType(this)
+        	+ ", superType=" + getResourceSuperType()
             + ", path=" + getPath();
     }
 



Mime
View raw message