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 2008/09/01 16:32:33 UTC
svn commit: r690976 -
/incubator/sling/trunk/jcr/resource/src/main/java/org/apache/sling/jcr/resource/internal/helper/starresource/StarResource.java
Author: cziegeler
Date: Mon Sep 1 07:32:33 2008
New Revision: 690976
URL: http://svn.apache.org/viewvc?rev=690976&view=rev
Log:
Fix javadoc.
Modified:
incubator/sling/trunk/jcr/resource/src/main/java/org/apache/sling/jcr/resource/internal/helper/starresource/StarResource.java
Modified: incubator/sling/trunk/jcr/resource/src/main/java/org/apache/sling/jcr/resource/internal/helper/starresource/StarResource.java
URL: http://svn.apache.org/viewvc/incubator/sling/trunk/jcr/resource/src/main/java/org/apache/sling/jcr/resource/internal/helper/starresource/StarResource.java?rev=690976&r1=690975&r2=690976&view=diff
==============================================================================
--- incubator/sling/trunk/jcr/resource/src/main/java/org/apache/sling/jcr/resource/internal/helper/starresource/StarResource.java (original)
+++ incubator/sling/trunk/jcr/resource/src/main/java/org/apache/sling/jcr/resource/internal/helper/starresource/StarResource.java Mon Sep 1 07:32:33 2008
@@ -53,7 +53,7 @@
/**
* Returns true if the path of the resource ends with the
- * {@link #PATH_CLEAN_SUFFIX} and therefore should be considered a star
+ * {@link #SLASH_STAR} and therefore should be considered a star
* resource.
*/
public static boolean isStarResource(Resource res) {
@@ -95,11 +95,11 @@
}
return null;
}
-
+
/** Get our ResourceMetadata for given path */
static ResourceMetadata getResourceMetadata(String path) {
ResourceMetadata result = new ResourceMetadata();
-
+
// The path is up to /*, what follows is pathInfo
final int index = path.indexOf(SLASH_STAR);
if(index >= 0) {