You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jena.apache.org by an...@apache.org on 2013/08/24 18:40:37 UTC

svn commit: r1517164 - /jena/trunk/jena-fuseki/src/main/java/org/apache/jena/fuseki/servlets/SPARQL_ServletBase.java

Author: andy
Date: Sat Aug 24 16:40:36 2013
New Revision: 1517164

URL: http://svn.apache.org/r1517164
Log:
Correct comments.

Modified:
    jena/trunk/jena-fuseki/src/main/java/org/apache/jena/fuseki/servlets/SPARQL_ServletBase.java

Modified: jena/trunk/jena-fuseki/src/main/java/org/apache/jena/fuseki/servlets/SPARQL_ServletBase.java
URL: http://svn.apache.org/viewvc/jena/trunk/jena-fuseki/src/main/java/org/apache/jena/fuseki/servlets/SPARQL_ServletBase.java?rev=1517164&r1=1517163&r2=1517164&view=diff
==============================================================================
--- jena/trunk/jena-fuseki/src/main/java/org/apache/jena/fuseki/servlets/SPARQL_ServletBase.java (original)
+++ jena/trunk/jena-fuseki/src/main/java/org/apache/jena/fuseki/servlets/SPARQL_ServletBase.java Sat Aug 24 16:40:36 2013
@@ -327,21 +327,18 @@ public abstract class SPARQL_ServletBase
         
     }
     
-    /** Implementation of mapRequestToDataset(String) that looks for the longest match.
-     *  This includes use in direct naming GSP. 
+    /** Implementation of mapRequestToDataset(String) that looks for
+     * the longest match in the registry.
+     * This includes use in direct naming GSP. 
      */
     protected static String mapRequestToDatasetLongest$(String uri) 
     {
         if ( uri == null )
             return null ;
         
-        // Mapping a request for GSP needs to find the "best"
-        // (longest matching) dataset URI.
         // This covers local, using the URI as a direct name for
         // a graph, not just using the indirect ?graph= or ?default 
         // forms.
-        // Service matching, which is a matter of removing the service component,
-        // would only work for indirect. 
 
         String ds = null ;
         for ( String ds2 : DatasetRegistry.get().keys() ) {