From b843eaaa40daa5864a8bd2b72ef8cc45b91f8566 Mon Sep 17 00:00:00 2001 From: Felipe Oliveira <felipeweb.programador@gmail.com> Date: Wed, 22 Mar 2017 02:09:54 -0300 Subject: [PATCH] implements serializable on MessageList.class --- .../java/br/com/caelum/vraptor/validator/MessageList.java | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/vraptor-core/src/main/java/br/com/caelum/vraptor/validator/MessageList.java b/vraptor-core/src/main/java/br/com/caelum/vraptor/validator/MessageList.java index 30487520a..4d719a3cf 100644 --- a/vraptor-core/src/main/java/br/com/caelum/vraptor/validator/MessageList.java +++ b/vraptor-core/src/main/java/br/com/caelum/vraptor/validator/MessageList.java @@ -15,6 +15,7 @@ */ package br.com.caelum.vraptor.validator; +import java.io.Serializable; import java.util.Collection; import java.util.List; import java.util.Map; @@ -34,7 +35,9 @@ * @author Otávio Scherer Garcia */ @Vetoed -public class MessageList extends ForwardingList<Message> { +public class MessageList extends ForwardingList<Message> implements Serializable { + private static final long serialVersionUID = 1L; + private final List<Message> delegate; private Map<String, Collection<Message>> grouped;