[LIB-10] SerialVersionUID for Serializable classes
[snooker-score-api.git] / src / main / java / org / hedgecode / snooker / json / JsonMatches.java
index fa99374..70698da 100644 (file)
@@ -16,6 +16,7 @@
 
 package org.hedgecode.snooker.json;
 
+import java.io.Serializable;
 import java.util.ArrayList;
 import java.util.List;
 
@@ -28,15 +29,17 @@ import org.hedgecode.snooker.compare.MatchComparators;
  *
  * @author Dmitry Samoshin aka gotty
  */
-public class JsonMatches extends JsonCollectionEntity<Match> implements Matches {
+public class JsonMatches extends JsonCollectionEntity<Match> implements Matches, Serializable {
+
+    private static final long serialVersionUID = 7399435317464241002L;
 
     private static final JsonMatches EMPTY = new JsonMatches(new Match[0]);
 
-    protected JsonMatches(Match[] entities) {
+    JsonMatches(Match[] entities) {
         super(entities);
     }
 
-    protected JsonMatches(List<Match> entities) {
+    JsonMatches(List<Match> entities) {
         super(entities);
     }