/*
- * 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.Ranking;
return comparator;
}
- static class PositionComparator implements Comparator<Ranking>, Serializable {
+ static class PositionComparator implements Comparator<Ranking> {
@Override
public int compare(Ranking ranking1, Ranking ranking2) {
}
- static class SumComparator implements Comparator<Ranking>, Serializable {
+ static class SumComparator implements Comparator<Ranking> {
@Override
public int compare(Ranking ranking1, Ranking ranking2) {