Skip to content

Commit

Permalink
Add clarifying comment
Browse files Browse the repository at this point in the history
Co-authored-by: Niklas Lindström <[email protected]>
kwahlin and niklasl authored Oct 9, 2023

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
1 parent eaa4a9c commit b15fead
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion whelk-core/src/main/groovy/whelk/JsonLd.groovy
Original file line number Diff line number Diff line change
@@ -48,7 +48,10 @@ class JsonLd {
static final List<String> NS_SEPARATORS = ['#', '/', ':']

static final List<String> NON_DEPENDANT_RELATIONS = ['narrower', 'broader', 'expressionOf', 'related', 'derivedFrom']
static final List<String> ALLOW_LINK_TO_DELETED = ['meta.derivedFrom', 'hasTitle.source', 'translationOf.hasTitle.source', 'instanceOf.hasTitle.source', 'instanceOf.translationOf.hasTitle.source']
static final List<String> ALLOW_LINK_TO_DELETED = [
'meta.derivedFrom', 'hasTitle.source',
/* following are combinations only needed while there are local unlinked works */
'translationOf.hasTitle.source', 'instanceOf.hasTitle.source', 'instanceOf.translationOf.hasTitle.source']

static final Set<String> LD_KEYS

0 comments on commit b15fead

Please sign in to comment.