From d9a9e1b813955ef29271eca9f3216357c0923be0 Mon Sep 17 00:00:00 2001 From: Maicol <79454487+MaicolAntali@users.noreply.github.com> Date: Fri, 9 Dec 2022 17:07:35 +0100 Subject: [PATCH] Remove the `final` keyword from `private` method (#2276) (cherry picked from commit 28affcbdb9cc77efd6d4cb6cf6cab4acd48f4975) --- .../com/google/gson/internal/bind/DefaultDateTypeAdapter.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gson/src/main/java/com/google/gson/internal/bind/DefaultDateTypeAdapter.java b/gson/src/main/java/com/google/gson/internal/bind/DefaultDateTypeAdapter.java index 4719ea1548..9e578bf448 100644 --- a/gson/src/main/java/com/google/gson/internal/bind/DefaultDateTypeAdapter.java +++ b/gson/src/main/java/com/google/gson/internal/bind/DefaultDateTypeAdapter.java @@ -62,7 +62,7 @@ protected DateType(Class dateClass) { protected abstract T deserialize(Date date); - private final TypeAdapterFactory createFactory(DefaultDateTypeAdapter adapter) { + private TypeAdapterFactory createFactory(DefaultDateTypeAdapter adapter) { return TypeAdapters.newFactory(dateClass, adapter); }