Author: fmeschbe
Date: Wed Dec 17 11:37:56 2008
New Revision: 727487
URL: http://svn.apache.org/viewvc?rev=727487&view=rev
Log:
Better logging
Modified:
incubator/sling/trunk/jcr/resource/src/main/java/org/apache/sling/jcr/resource/internal/helper/jcr/JcrNodeResourceIterator.java
Modified:
incubator/sling/trunk/jcr/resource/src/main/java/org/apache/sling/jcr/resource/internal/helper/jcr/JcrNodeResourceIterator.java
URL:
http://svn.apache.org/viewvc/incubator/sling/trunk/jcr/resource/src/main/java/org/apache/sling/jcr/resource/internal/helper/jcr/JcrNodeResourceIterator.java?rev=727487&r1=727486&r2=727487&view=diff
==============================================================================
---
incubator/sling/trunk/jcr/resource/src/main/java/org/apache/sling/jcr/resource/internal/helper/jcr/JcrNodeResourceIterator.java
(original)
+++
incubator/sling/trunk/jcr/resource/src/main/java/org/apache/sling/jcr/resource/internal/helper/jcr/JcrNodeResourceIterator.java
Wed Dec 17 11:37:56 2008
@@ -88,7 +88,10 @@
private Resource seek() {
while (nodes.hasNext()) {
try {
- return new JcrNodeResource(resourceResolver, nodes.nextNode(),
resourceTypeProviders);
+ Resource resource = new JcrNodeResource(resourceResolver,
+ nodes.nextNode(), resourceTypeProviders);
+ log.debug("seek: Returning Resource {}", resource);
+ return resource;
} catch (Throwable t) {
log.error(
"seek: Problem creating Resource for next node, skipping",