[LIB-8] Update Copyright
[snooker-score-api.git] / src / main / java / org / hedgecode / snooker / compare / MatchComparators.java
index 939b1bc..b7439ac 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2017. 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.compare;
 
+import java.io.Serializable;
 import java.util.Comparator;
 
 import org.hedgecode.snooker.api.Match;
@@ -42,7 +43,7 @@ public enum MatchComparators {
         return comparator;
     }
 
-    static class RoundNumberComparator implements Comparator<Match> {
+    static class RoundNumberComparator implements Comparator<Match>, Serializable {
 
         @Override
         public int compare(Match match1, Match match2) {
@@ -53,7 +54,7 @@ public enum MatchComparators {
 
     }
 
-    static class EventComparator implements Comparator<Match> {
+    static class EventComparator implements Comparator<Match>, Serializable {
 
         @Override
         public int compare(Match match1, Match match2) {