[LIB-10] SerialVersionUID for Serializable classes
[snooker-score-api.git] / src / main / java / org / hedgecode / snooker / json / JsonMatch.java
index f593735..3a2ad3d 100644 (file)
@@ -16,6 +16,7 @@
 
 package org.hedgecode.snooker.json;
 
+import java.io.Serializable;
 import java.util.Date;
 
 import com.google.gson.annotations.Expose;
@@ -32,7 +33,9 @@ import org.hedgecode.snooker.api.Player;
  *
  * @author Dmitry Samoshin aka gotty
  */
-public class JsonMatch extends JsonIdEntity implements Match {
+public class JsonMatch extends JsonIdEntity implements Match, Serializable {
+
+    private static final long serialVersionUID = 1503003854433798119L;
 
     @SerializedName("ID")
     private int matchId;
@@ -112,7 +115,7 @@ public class JsonMatch extends JsonIdEntity implements Match {
     @SerializedName("ExtendedNote")
     private String extendedNote;
 
-    protected JsonMatch() {
+    JsonMatch() {
     }
 
     @Override