You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by cz...@apache.org on 2010/04/13 17:42:08 UTC

svn commit: r933683 - /sling/trunk/bundles/jcr/resource/src/main/java/org/apache/sling/jcr/resource/internal/helper/jcr/JcrNodeResource.java

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();
     }