File tree Expand file tree Collapse file tree
core/model/src/main/java/org/eclipse/rdf4j/model/impl Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -133,14 +133,14 @@ public BNode createBNode(String nodeID) {
133133 @ Override
134134 public Literal createLiteral (String label , IRI datatype ) {
135135 if (!XMLDatatypeUtil .isValidValue (label , datatype )) {
136- throw new IllegalArgumentException ("Not a validate literal value" );
136+ throw new IllegalArgumentException ("Not a valid literal value" );
137137 }
138138 return delegate .createLiteral (label , datatype );
139139 }
140140
141141 public Literal createLiteral (String label , String language ) {
142142 if (!Literals .isValidLanguageTag (language )) {
143- throw new IllegalArgumentException ("Not a validate language tag: " + language );
143+ throw new IllegalArgumentException ("Not a valid language tag: " + language );
144144 }
145145 return delegate .createLiteral (label , language );
146146 }
You can’t perform that action at this time.
0 commit comments