Skip to content

Commit

Permalink
Fix: Set the server static variable (pt 2)
Browse files Browse the repository at this point in the history
  • Loading branch information
afs committed Feb 13, 2025
1 parent 9da8ff6 commit 11f9019
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -58,9 +58,6 @@ public class TestCrossOriginFilter {

/** System property that allows "Host" to be set. */
private static String jdkAllowRestrictedHeaders = "jdk.httpclient.allowRestrictedHeaders";

// private static FusekiServer server = null;
// private static String URL = null;
private static Optional<String> systemValue = null;

@BeforeAll
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,6 @@ public class TestFusekiDatasetSharing {
Graph g = RDFParser.source(DIR+"ds-sharing.ttl").lang(Lang.TTL).toGraph();

server = FusekiServer.create().port(0).parseConfig(g).start();
//FusekiMainInfo.logServer(Fuseki.serverLog, server, true);

// fuseki:name "ds-named"
// fuseki:name "ds-rdfs-base-named"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ public static void beforeClass() {

DatasetGraph dsg = DatasetGraphFactory.createTxnMem();

FusekiServer server = FusekiServer.create()
server = FusekiServer.create()
.add("/ds", dsg, false)
.port(0)
.build();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ public static void beforeClass() {

DatasetGraph dsg = DatasetGraphFactory.createTxnMem();

FusekiServer server = FusekiServer.create()
server = FusekiServer.create()
.add("/ds", dsg)
.port(0)
.build();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ public class TestPlainServer {

@BeforeAll
public static void beforeClass() {
FusekiServer server = FusekiServer.create()
server = FusekiServer.create()
.port(0)
.add("/ds", DatasetGraphFactory.createTxnMem())
// Named like a dataset service
Expand Down

0 comments on commit 11f9019

Please sign in to comment.