You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jena.apache.org by an...@apache.org on 2021/02/08 22:14:38 UTC
[jena] branch master updated: FusekiServer.Builder::port: docu for
0 (=random)
This is an automated email from the ASF dual-hosted git repository.
andy pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/jena.git
The following commit(s) were added to refs/heads/master by this push:
new fcdfc81 FusekiServer.Builder::port: docu for 0 (=random)
new 4321d11 Merge pull request #913 from jmkeil/patch-1
fcdfc81 is described below
commit fcdfc81725247211f68cecc233df78eac9ec607a
Author: Jan Martin Keil <ja...@uni-jena.de>
AuthorDate: Mon Feb 8 12:06:56 2021 +0100
FusekiServer.Builder::port: docu for 0 (=random)
---
.../src/main/java/org/apache/jena/fuseki/main/FusekiServer.java | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/jena-fuseki2/jena-fuseki-main/src/main/java/org/apache/jena/fuseki/main/FusekiServer.java b/jena-fuseki2/jena-fuseki-main/src/main/java/org/apache/jena/fuseki/main/FusekiServer.java
index e0239bf..c2962e7 100644
--- a/jena-fuseki2/jena-fuseki-main/src/main/java/org/apache/jena/fuseki/main/FusekiServer.java
+++ b/jena-fuseki2/jena-fuseki-main/src/main/java/org/apache/jena/fuseki/main/FusekiServer.java
@@ -296,7 +296,11 @@ public class FusekiServer {
OperationRegistry.copyConfig(operationRegistry, this.operationRegistry);
}
- /** Set the port to run on. */
+ /**
+ * Set the port to run on.
+ * <p>
+ * If set to 0, a random free port will be used.
+ */
public Builder port(int port) {
if ( port < 0 )
throw new IllegalArgumentException("Illegal port="+port+" : Port must be greater than or equal to zero.");