We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1fc12b6 commit 08ad779Copy full SHA for 08ad779
src/main/java/com/apicatalog/jsonld/context/TermDefinitionBuilder.java
@@ -342,11 +342,9 @@ public void create(final String term) throws JsonLdError {
342
// 13.7.
343
activeContext.setTerm(term, definition);
344
defined.put(term, Boolean.TRUE);
345
- return;
346
- }
347
348
- // 14.
349
- if (idValue != null && (JsonUtils.isNotString(idValue) || !term.equals(((JsonString) idValue).getString()))) {
+ // 14.
+ } else if (idValue != null && (JsonUtils.isNotString(idValue) || !term.equals(((JsonString) idValue).getString()))) {
350
351
// 14.1.
352
if (JsonUtils.isNotNull(idValue)) {
0 commit comments