Skip to content

Commit

Permalink
fix(client-api): fixed regex typo
Browse files Browse the repository at this point in the history
In regex language "." means concatenation, not dot.
  • Loading branch information
GregorioMonari committed Jan 23, 2024
1 parent 2b675a3 commit 6259780
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ protected final void setParameter(String key,String value) {
break;
default:
if (key.startsWith("-sparql11seprotocol.availableProtocols")) {
String[] token = key.split(".");
String[] token = key.split("\\.");
if (token[3] == "path") this.sparql11seprotocol.availableProtocols.get(token[2]).path = value;
else if (token[3] == "port") this.sparql11seprotocol.availableProtocols.get(token[2]).port = Integer.valueOf(value);
else if (token[3] == "scheme") this.sparql11seprotocol.availableProtocols.get(token[2]).scheme = value;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
*/

public class Engine implements EngineMBean {
private final static String version = "0.12.2023.09.14";
private final static String version = "0.13.2024.01.22";

private EngineProperties properties = null;

Expand Down

0 comments on commit 6259780

Please sign in to comment.