From 0b2d37fe68e562ea695e1fcb42bd8d7a1e74d1e1 Mon Sep 17 00:00:00 2001 From: AsamK Date: Sun, 13 Jun 2021 13:37:46 +0200 Subject: [PATCH] Rename method parameter --- src/main/java/org/asamk/signal/JsonWriter.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/org/asamk/signal/JsonWriter.java b/src/main/java/org/asamk/signal/JsonWriter.java index e7549adf..20cf7bc1 100644 --- a/src/main/java/org/asamk/signal/JsonWriter.java +++ b/src/main/java/org/asamk/signal/JsonWriter.java @@ -18,8 +18,8 @@ public class JsonWriter { private final Writer writer; private final ObjectMapper objectMapper; - public JsonWriter(final OutputStream writer) { - this.writer = new BufferedWriter(new OutputStreamWriter(writer, StandardCharsets.UTF_8)); + public JsonWriter(final OutputStream outputStream) { + this.writer = new BufferedWriter(new OutputStreamWriter(outputStream, StandardCharsets.UTF_8)); objectMapper = new ObjectMapper(); objectMapper.setVisibility(PropertyAccessor.ALL, JsonAutoDetect.Visibility.PUBLIC_ONLY);