Skip to content

Commit a08d2bd

Browse files
committed
wip
1 parent 3ab3ad0 commit a08d2bd

File tree

3 files changed

+4
-5
lines changed

3 files changed

+4
-5
lines changed

jena-arq/src/main/java/org/apache/jena/sparql/core/Quad.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ public Triple asTriple() {
9797
}
9898

9999
public boolean isConcrete() {
100-
return subject.isConcrete() && predicate.isConcrete() && object.isConcrete() && graph.isConcrete();
100+
return subject.isConcrete() && predicate.isConcrete() && object.isConcrete() && (graph == null || graph.isConcrete());
101101
}
102102

103103
/**

jena-arq/src/main/java/org/apache/jena/sparql/engine/dispatch/DatasetGraphOverSparql.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -403,7 +403,7 @@ private static Quad matchQuad(Node g, Node s, Node p, Node o) {
403403
/**
404404
* Generates the query:
405405
* <pre>
406-
* SELECT ?g ?s ?p ?o {
406+
* SELECT * {
407407
* { ?s ?p ?o }
408408
* UNION
409409
* { GRAPH ?g { ?s ?p ?o } }

jena-arq/src/main/java/org/apache/jena/sparql/exec/tracker/BasicTaskInfo.java

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,8 @@ public interface BasicTaskInfo {
4545
String getStatusMessage();
4646

4747
/**
48-
* If this method returns a non-null result then the task is considered to have failed.
49-
* A non-null result does not imply that the task is already in TERMINATED state.
48+
* If this method returns a non-null result then the task is considered to be failing or to have failed.
49+
* A non-null result does not imply that the task has already reached TERMINATED state.
5050
*/
5151
Throwable getThrowable();
5252

@@ -59,5 +59,4 @@ default boolean isTerminated() {
5959
TaskState state = getTaskState();
6060
return TaskState.TERMINATED.equals(state);
6161
}
62-
6362
}

0 commit comments

Comments
 (0)