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


The following commit(s) were added to refs/heads/main by this push:
     new 03f854c6e8 GH-3598: schemagen adding literals true false null to java 
keywords
03f854c6e8 is described below

commit 03f854c6e8c600cc2ca883136a87ebd946206183
Author: Jakub Duchateau <[email protected]>
AuthorDate: Mon Nov 17 12:51:56 2025 +0100

    GH-3598: schemagen adding literals true false null to java keywords
---
 jena-cmds/src/main/java/jena/schemagen.java | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/jena-cmds/src/main/java/jena/schemagen.java 
b/jena-cmds/src/main/java/jena/schemagen.java
index b88680e9ed..29b639dc65 100644
--- a/jena-cmds/src/main/java/jena/schemagen.java
+++ b/jena-cmds/src/main/java/jena/schemagen.java
@@ -104,7 +104,9 @@ public class schemagen {
         "const",       "float",       "native",      "super",       "while",
 
         // And distinguished names.
-        "var", "record"
+        "var", "record",
+        // And literals
+        "true", "false", "null"
     };
 
 

Reply via email to