From ccf30b23e8a45b14b2e57ddbcf5bcdcd16fec4b4 Mon Sep 17 00:00:00 2001 From: "J. Fronny" Date: Tue, 17 May 2022 06:15:12 +0000 Subject: [PATCH] newline before comment --- gson/src/main/java/com/google/gson/stream/JsonWriter.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gson/src/main/java/com/google/gson/stream/JsonWriter.java b/gson/src/main/java/com/google/gson/stream/JsonWriter.java index bd9196c2..dafc3f1e 100644 --- a/gson/src/main/java/com/google/gson/stream/JsonWriter.java +++ b/gson/src/main/java/com/google/gson/stream/JsonWriter.java @@ -297,8 +297,8 @@ public class JsonWriter implements Closeable, Flushable { out.append("/* ").append(String.join(" / ", parts)).append(" */"); } else { for (String s : parts) { - out.append("// ").append(s); newline(); + out.append("// ").append(s); } } return this;