[LIB-10] SerialVersionUID for Serializable classes
[snooker-score-api.git] / src / main / java / org / hedgecode / snooker / compare / EventComparators.java
index 860c61d..63db086 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,7 +16,6 @@
 
 package org.hedgecode.snooker.compare;
 
-import java.io.Serializable;
 import java.util.Comparator;
 
 import org.hedgecode.snooker.api.Event;
@@ -43,7 +42,7 @@ public enum EventComparators {
         return comparator;
     }
 
-    static class DateComparator implements Comparator<Event>, Serializable {
+    static class DateComparator implements Comparator<Event> {
 
         @Override
         public int compare(Event event1, Event event2) {
@@ -52,7 +51,7 @@ public enum EventComparators {
 
     }
 
-    static class SnookerIdComparator implements Comparator<Event>, Serializable {
+    static class SnookerIdComparator implements Comparator<Event> {
 
         @Override
         public int compare(Event event1, Event event2) {