From 855f0493d0edba5d6f6ec4c72a46bfef225ef22c Mon Sep 17 00:00:00 2001 From: Trung Do Date: Tue, 31 Oct 2017 14:43:24 -0400 Subject: [PATCH] Fix a small typo (#1183) --- .../java/com/google/gson/internal/bind/util/ISO8601Utils.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gson/src/main/java/com/google/gson/internal/bind/util/ISO8601Utils.java b/gson/src/main/java/com/google/gson/internal/bind/util/ISO8601Utils.java index c931b090..99ec679a 100644 --- a/gson/src/main/java/com/google/gson/internal/bind/util/ISO8601Utils.java +++ b/gson/src/main/java/com/google/gson/internal/bind/util/ISO8601Utils.java @@ -266,7 +266,7 @@ public class ISO8601Utils } catch (IllegalArgumentException e) { fail = e; } - String input = (date == null) ? null : ('"' + date + "'"); + String input = (date == null) ? null : ('"' + date + '"'); String msg = fail.getMessage(); if (msg == null || msg.isEmpty()) { msg = "("+fail.getClass().getName()+")";