/*
- * 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.
package org.hedgecode.snooker.compare;
-import java.io.Serializable;
import java.util.Comparator;
import org.hedgecode.snooker.api.Player;
return comparator;
}
- static class NameComparator implements Comparator<Player>, Serializable {
+ static class NameComparator implements Comparator<Player> {
@Override
public int compare(Player player1, Player player2) {
}
- static class AgeComparator implements Comparator<Player>, Serializable {
+ static class AgeComparator implements Comparator<Player> {
@Override
public int compare(Player player1, Player player2) {