We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 494dd53 commit 8b39230Copy full SHA for 8b39230
core/src/main/java/com/github/jsonldjava/core/JsonLdOptions.java
@@ -101,12 +101,16 @@ public void setEmbed(String embed) throws JsonLdError {
101
switch (embed) {
102
case "@always":
103
this.embed = Embed.ALWAYS;
104
+ break;
105
case "@never":
106
this.embed = Embed.NEVER;
107
108
case "@last":
109
this.embed = Embed.LAST;
110
111
case "@link":
112
this.embed = Embed.LINK;
113
114
default:
115
throw new JsonLdError(JsonLdError.Error.INVALID_EMBED_VALUE);
116
}
0 commit comments