From 98cff1c2fd08e28beee7a52aa896d4ef9e76160c Mon Sep 17 00:00:00 2001 From: Carlos Tasada Date: Thu, 9 May 2024 14:07:40 +0200 Subject: [PATCH] fix style --- gson/src/main/java/com/google/gson/ToNumberPolicy.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gson/src/main/java/com/google/gson/ToNumberPolicy.java b/gson/src/main/java/com/google/gson/ToNumberPolicy.java index cfb127f221..0cd17ff3b7 100644 --- a/gson/src/main/java/com/google/gson/ToNumberPolicy.java +++ b/gson/src/main/java/com/google/gson/ToNumberPolicy.java @@ -84,12 +84,12 @@ private Number parseAsDouble(String value, JsonReader in) throws IOException { Double d = Double.valueOf(value); if ((d.isInfinite() || d.isNaN()) && !in.isLenient()) { throw new MalformedJsonException( - "JSON forbids NaN and infinities: " + d + "; at path " + in.getPreviousPath()); + "JSON forbids NaN and infinities: " + d + "; at path " + in.getPreviousPath()); } return d; } catch (NumberFormatException doubleE) { throw new JsonParseException( - "Cannot parse " + value + "; at path " + in.getPreviousPath(), doubleE); + "Cannot parse " + value + "; at path " + in.getPreviousPath(), doubleE); } } },