Skip to content

Commit

Permalink
fix: bindings result now include ask response; moved to Java 13 in pom
Browse files Browse the repository at this point in the history
  • Loading branch information
lroffia committed Mar 26, 2024
1 parent 2a2fe8a commit f573953
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,15 @@ public BindingsResults(BindingsResults newBindings) {
results.add("results", bindings);
}

public boolean isAskResult() {
return (results.has("boolean") && results.has("head"));
}

public boolean getAskBoolean() {
return results.get("boolean").getAsBoolean();
}


/**
* Gets the variables.
*
Expand Down
4 changes: 2 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,8 @@
<url>https://github.com/arces-wot/SEPA</url>
</scm>
<properties>
<maven.compiler.source>11</maven.compiler.source>
<maven.compiler.target>11</maven.compiler.target>
<maven.compiler.source>13</maven.compiler.source>
<maven.compiler.target>13</maven.compiler.target>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<revision>1.0.0-SNAPSHOT</revision>
<update>0</update>
Expand Down

0 comments on commit f573953

Please sign in to comment.