Skip to content

Commit 892f8e3

Browse files
authored
Merge pull request #10 from GGoetzelmann/fix_formatter-using-cached-profiles
Apply fixes from main branch to dev branch
2 parents 07739d9 + 9c75d4d commit 892f8e3

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,4 +33,4 @@ Now it should be possible to right click on the project and choose "Run as" -> "
3333

3434
## License
3535

36-
The WEB Server is licensed under the Apache License, Version 2.0.
36+
The WAP Server is licensed under the Apache License, Version 2.0.

src/main/java/edu/kit/scc/dem/wapsrv/model/formats/JsonLdFormatter.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,7 @@ private String applyProfiles(String jsonLd, String frameString) {
209209
JsonLdOptions optionsWithContexts = profileRegistry.getJsonLdOptions();
210210
Map<String, Object> framed = null;
211211
if (frameObject != null) {
212-
final JsonLdOptions options = new JsonLdOptions();
212+
final JsonLdOptions options = profileRegistry.getJsonLdOptions();
213213
options.format = JsonLdConsts.APPLICATION_NQUADS;
214214
options.setCompactArrays(true);
215215
framed = JsonLdProcessor.frame(jsonObject, frameObject, options);

0 commit comments

Comments
 (0)