From ef32f3180944071a3d43327adfd5f313bf11c808 Mon Sep 17 00:00:00 2001 From: danieldsf Date: Tue, 30 Apr 2019 23:39:31 -0300 Subject: [PATCH] Add implementation of Serializable to AutocompletePrediction --- .../java/com/google/maps/model/AutocompletePrediction.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/main/java/com/google/maps/model/AutocompletePrediction.java b/src/main/java/com/google/maps/model/AutocompletePrediction.java index 0cd37c58c..2b3276f6f 100644 --- a/src/main/java/com/google/maps/model/AutocompletePrediction.java +++ b/src/main/java/com/google/maps/model/AutocompletePrediction.java @@ -56,7 +56,9 @@ public class AutocompletePrediction implements Serializable { * Describes the location of the entered term in the prediction result text, so that the term can * be highlighted if desired. */ - public static class MatchedSubstring { + public static class MatchedSubstring implements Serializable { + + private static final long serialVersionUID = 1L; /** The length of the matched substring, measured in Unicode characters. */ public int length;