diff options
author | Manuel Bentele | 2021-12-17 17:44:02 +0100 |
---|---|---|
committer | Manuel Bentele | 2021-12-17 17:44:02 +0100 |
commit | 204263e93b2552a74fda46a5be78ba04117a658f (patch) | |
tree | 422905003265fa40a49a9e3f054bd2ef29f0ce7c | |
parent | [CLIENT] Update version of build dependencies (diff) | |
download | tutor-module-204263e93b2552a74fda46a5be78ba04117a658f.tar.gz tutor-module-204263e93b2552a74fda46a5be78ba04117a658f.tar.xz tutor-module-204263e93b2552a74fda46a5be78ba04117a658f.zip |
[CLIENT] Fix deprecated JsonParser method call
-rw-r--r-- | dozentenmodul/src/main/java/org/openslx/dozmod/util/ContainerUtils.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dozentenmodul/src/main/java/org/openslx/dozmod/util/ContainerUtils.java b/dozentenmodul/src/main/java/org/openslx/dozmod/util/ContainerUtils.java index de72d5b6..54400439 100644 --- a/dozentenmodul/src/main/java/org/openslx/dozmod/util/ContainerUtils.java +++ b/dozentenmodul/src/main/java/org/openslx/dozmod/util/ContainerUtils.java @@ -141,7 +141,7 @@ public class ContainerUtils { while ((count = tis.read(rawData)) != -1) { output.write(rawData, 0, count); } - manifestJson = new JsonParser().parse(new String(output.toByteArray(), StandardCharsets.UTF_8)) + manifestJson = JsonParser.parseString(new String(output.toByteArray(), StandardCharsets.UTF_8)) .getAsJsonArray(); } |