incubator-sling-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bdelacre...@apache.org
Subject svn commit: r718899 - /incubator/sling/trunk/jcr/resource/src/main/java/org/apache/sling/jcr/resource/internal/JcrResourceResolver.java
Date Wed, 19 Nov 2008 08:05:15 GMT
Author: bdelacretaz
Date: Wed Nov 19 00:05:14 2008
New Revision: 718899

URL: http://svn.apache.org/viewvc?rev=718899&view=rev
Log:
SLING-460 - add comment on names in SELECT statement

Modified:
    incubator/sling/trunk/jcr/resource/src/main/java/org/apache/sling/jcr/resource/internal/JcrResourceResolver.java

Modified: incubator/sling/trunk/jcr/resource/src/main/java/org/apache/sling/jcr/resource/internal/JcrResourceResolver.java
URL: http://svn.apache.org/viewvc/incubator/sling/trunk/jcr/resource/src/main/java/org/apache/sling/jcr/resource/internal/JcrResourceResolver.java?rev=718899&r1=718898&r2=718899&view=diff
==============================================================================
--- incubator/sling/trunk/jcr/resource/src/main/java/org/apache/sling/jcr/resource/internal/JcrResourceResolver.java
(original)
+++ incubator/sling/trunk/jcr/resource/src/main/java/org/apache/sling/jcr/resource/internal/JcrResourceResolver.java
Wed Nov 19 00:05:14 2008
@@ -362,6 +362,8 @@
      * @return
      */
     private Resource searchVanityPath(String path) {
+        // sling:VanityPath (uppercase V) is the mixin name
+        // sling:vanityPath (lowercase) is the property name 
         final String queryString = "SELECT * FROM sling:VanityPath where sling:vanityPath
='" + path +
             "' ORDER BY sling:vanityOrder DESC";
         final Iterator<Resource> i = this.findResources(queryString, Query.SQL);



Mime
View raw message