This is an automated email from the ASF dual-hosted git repository.

afs pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/jena.git

commit ea281f8290b3ead5350103ab03b73a13e0aa9df7
Author: Andy Seaborne <[email protected]>
AuthorDate: Tue May 26 15:05:11 2026 +0100

    Remove pre-DSP dataset support
---
 .../main/java/org/apache/jena/sparql/exec/http/GSP.java  | 16 ----------------
 1 file changed, 16 deletions(-)

diff --git a/jena-arq/src/main/java/org/apache/jena/sparql/exec/http/GSP.java 
b/jena-arq/src/main/java/org/apache/jena/sparql/exec/http/GSP.java
index 0d3d9ad117..de97382a0f 100644
--- a/jena-arq/src/main/java/org/apache/jena/sparql/exec/http/GSP.java
+++ b/jena-arq/src/main/java/org/apache/jena/sparql/exec/http/GSP.java
@@ -72,10 +72,6 @@ public class GSP extends StoreProtocol<GSP> {
     // 2 - Graph operation, GSP naming, graph name.
     private String              graphName       = null;
 
-    // Legacy, deprecated.
-    // 3 - Dataset operation without ?default or ?graph=
-    private boolean             datasetGraph    = false;
-
     /**
      * Create a request to the remote serviceURL (without a URL query string).
      * Call {@link #defaultGraph()} or {@link #graphName(String)} to select 
the target graph.
@@ -317,24 +313,12 @@ public class GSP extends StoreProtocol<GSP> {
         return HttpLib.requestURL(serviceEndpoint, 
queryStringForGraph(graphName));
     }
 
-    final protected void internalDataset() {
-        // Set as dataset request.
-        // Checking is done by validateDatasetOperation.
-        // The dataset operations have "Dataset" in the name, so less point 
having
-        // required dataset(). We can't use GET() because the return type
-        // would be "Graph or DatasetGraph"
-        // Reconsider if graph synonyms provided.
-        this.datasetGraph = true;
-    }
-
     final protected void validateDatasetOperation() {
         Objects.requireNonNull("Service Endpoint", serviceEndpoint);
         if ( defaultGraph )
             throw exception("Default graph specified for dataset operation");
         if ( graphName != null )
             throw exception("A graph name specified for dataset operation");
-        if ( ! datasetGraph )
-            throw exception("Dataset request not specified for dataset 
operation");
     }
 
     /** Send a file of triples to a URL. */

Reply via email to