incubator-sling-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bdelacre...@apache.org
Subject svn commit: r811385 - /sling/trunk/bundles/jcr/resource/src/main/java/org/apache/sling/jcr/resource/internal/helper/jcr/JcrNodeResource.java
Date Fri, 04 Sep 2009 13:24:04 GMT
Author: bdelacretaz
Date: Fri Sep  4 13:24:04 2009
New Revision: 811385

URL: http://svn.apache.org/viewvc?rev=811385&view=rev
Log:
SLING-1100 - RequestProgressTracker info now includes resource supertype

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=811385&r1=811384&r2=811385&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
Fri Sep  4 13:24:04 2009
@@ -42,6 +42,7 @@
 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;
@@ -131,7 +132,9 @@
     }
 
     public String toString() {
-        return getClass().getSimpleName() + ", type=" + getResourceType()
+        return getClass().getSimpleName() 
+        	+ ", type=" + getResourceType()
+        	+ ", superType=" + ResourceUtil.findResourceSuperType(this) 
             + ", path=" + getPath();
     }
 



Mime
View raw message