mirror of
https://github.com/AsamK/signal-cli
synced 2025-08-29 10:30:38 +00:00
Rename method parameter
This commit is contained in:
parent
5e50a4cc4a
commit
0b2d37fe68
1 changed files with 2 additions and 2 deletions
|
@ -18,8 +18,8 @@ public class JsonWriter {
|
||||||
private final Writer writer;
|
private final Writer writer;
|
||||||
private final ObjectMapper objectMapper;
|
private final ObjectMapper objectMapper;
|
||||||
|
|
||||||
public JsonWriter(final OutputStream writer) {
|
public JsonWriter(final OutputStream outputStream) {
|
||||||
this.writer = new BufferedWriter(new OutputStreamWriter(writer, StandardCharsets.UTF_8));
|
this.writer = new BufferedWriter(new OutputStreamWriter(outputStream, StandardCharsets.UTF_8));
|
||||||
|
|
||||||
objectMapper = new ObjectMapper();
|
objectMapper = new ObjectMapper();
|
||||||
objectMapper.setVisibility(PropertyAccessor.ALL, JsonAutoDetect.Visibility.PUBLIC_ONLY);
|
objectMapper.setVisibility(PropertyAccessor.ALL, JsonAutoDetect.Visibility.PUBLIC_ONLY);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue