Skip to content

Commit

Permalink
eclipse-ee4j#61: Parsson media do not work with injection framework o…
Browse files Browse the repository at this point in the history
…n module path

Signed-off-by: Lukas Jungmann <lukas.jungmann@oracle.com>
(cherry picked from commit 68d27e2)
  • Loading branch information
lukasj committed Jun 17, 2022
1 parent 78476b9 commit 5840ea4
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2012, 2021 Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2012, 2022 Oracle and/or its affiliates. All rights reserved.
*
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License v. 2.0, which is available at
Expand Down Expand Up @@ -57,7 +57,7 @@ public class JsonValueBodyWriter implements MessageBodyWriter<JsonValue> {
private Configuration config;

@PostConstruct
private void init() {
public void init() {
Map<String, Object> props = new HashMap<>();
if (config != null && config.getProperties().containsKey(JsonGenerator.PRETTY_PRINTING)) {
props.put(JsonGenerator.PRETTY_PRINTING, true);
Expand Down

0 comments on commit 5840ea4

Please sign in to comment.