This is an automated email from the ASF dual-hosted git repository. andy pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/jena.git
commit a092166b46cdbc45c55743ddbfc76dc43efa7bdd Author: Andy Seaborne <[email protected]> AuthorDate: Sat Jan 17 20:54:41 2026 +0000 Clarify javadoc in OperationRegistry --- .../src/main/java/org/apache/jena/fuseki/server/Operation.java | 1 - .../java/org/apache/jena/fuseki/server/OperationRegistry.java | 8 +++++--- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/jena-fuseki2/jena-fuseki-core/src/main/java/org/apache/jena/fuseki/server/Operation.java b/jena-fuseki2/jena-fuseki-core/src/main/java/org/apache/jena/fuseki/server/Operation.java index b53b1d29f2..0e627baf79 100644 --- a/jena-fuseki2/jena-fuseki-core/src/main/java/org/apache/jena/fuseki/server/Operation.java +++ b/jena-fuseki2/jena-fuseki-core/src/main/java/org/apache/jena/fuseki/server/Operation.java @@ -91,7 +91,6 @@ public class Operation { public static final Operation PREFIXES_R = alloc(FusekiVocabG.opPREFIXES_R, "prefixes-r", "Read prefixes"); public static final Operation PREFIXES_RW = alloc(FusekiVocabG.opPREFIXES_RW, "prefixes-rw", "Read-write prefixes"); - static { // Not everyone will remember "_" vs "-" so ... altName(FusekiVocabG.opNoOp_alt, FusekiVocabG.opNoOp); diff --git a/jena-fuseki2/jena-fuseki-core/src/main/java/org/apache/jena/fuseki/server/OperationRegistry.java b/jena-fuseki2/jena-fuseki-core/src/main/java/org/apache/jena/fuseki/server/OperationRegistry.java index 5d0b5c38f5..71a2f2838f 100644 --- a/jena-fuseki2/jena-fuseki-core/src/main/java/org/apache/jena/fuseki/server/OperationRegistry.java +++ b/jena-fuseki2/jena-fuseki-core/src/main/java/org/apache/jena/fuseki/server/OperationRegistry.java @@ -59,14 +59,16 @@ public class OperationRegistry { private static final OperationRegistry stdConfig = stdConfig(); /** - * Return the current server-wide standard configuration. It is copied into each - * new FusekiServer created. Changing it after a server has been created does not - * affect the server. + * Return the current server-wide standard configuration for available services. + * The building of a server still needs to assign operations to endpoints. + * Changing the system default after a server has been created does not affect + * the server. */ public static OperationRegistry get() { return stdConfig; } private static OperationRegistry stdConfig() { OperationRegistry stdOpReg = new OperationRegistry(); + // Available services. stdOpReg.register(Operation.Query, WebContent.contentTypeSPARQLQuery, queryServlet); stdOpReg.register(Operation.Update, WebContent.contentTypeSPARQLUpdate, updateServlet); stdOpReg.register(Operation.GSP_R, null, gspServlet_R);
