[LIB-10] SerialVersionUID for Serializable classes
[snooker-score-api.git] / src / main / java / org / hedgecode / snooker / json / JsonSeedings.java
index a504cff..6c3ef8c 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2017-2019. Developed by Hedgecode.
+ * Copyright (c) 2017-2020. Developed by Hedgecode.
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -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.SeedingComparators;
  *
  * @author Dmitry Samoshin aka gotty
  */
-public class JsonSeedings extends JsonCollectionEntity<Seeding> implements Seedings {
+public class JsonSeedings extends JsonCollectionEntity<Seeding> implements Seedings, Serializable {
+
+    private static final long serialVersionUID = 8251290277292098461L;
 
     private static final JsonSeedings EMPTY = new JsonSeedings(new Seeding[0]);
 
-    protected JsonSeedings(Seeding[] entities) {
+    JsonSeedings(Seeding[] entities) {
         super(entities);
     }
 
-    protected JsonSeedings(List<Seeding> entities) {
+    JsonSeedings(List<Seeding> entities) {
         super(entities);
     }