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 750cc91b42 Fix javadoc
750cc91b42 is described below
commit 750cc91b42d840cc2500687ace794a2c4d87fa23
Author: Andy Seaborne <[email protected]>
AuthorDate: Sun Jan 25 15:34:14 2026 +0000
Fix javadoc
---
.../java/org/apache/jena/rdf/model/impl/RDFListImpl.java | 13 +++----------
1 file changed, 3 insertions(+), 10 deletions(-)
diff --git
a/jena-core/src/main/java/org/apache/jena/rdf/model/impl/RDFListImpl.java
b/jena-core/src/main/java/org/apache/jena/rdf/model/impl/RDFListImpl.java
index 92307a5928..99e795ec8c 100644
--- a/jena-core/src/main/java/org/apache/jena/rdf/model/impl/RDFListImpl.java
+++ b/jena-core/src/main/java/org/apache/jena/rdf/model/impl/RDFListImpl.java
@@ -985,16 +985,9 @@ public class RDFListImpl
//////////////////////////////////
/**
- * <p>
- * Answer true if this is a valid list cell, which means either that it
- * is nil, or it has the appropriate type and a first and next relation.
- * Updated 17-06-2003: RDFCore last comments process has decided that the
- * rdf:type of a list is implied by the domain constraints on rdf:first
- * and rdf:rest, so no longer needs to be asserted directly. The test
- * for rdf:type has therefore been removed.
- * </p>
- *
- * @return True if this list cell passes basic validity checks
+ * Check this is a valid list cell. If not, throw an {@link
InvalidListException} exception.
+ * The check is whether the cell
+ * is nil, or it has exactly one each of first and next relations.
*/
protected void checkValid() {
if (!equals( listNil() )) {