normalized line endings

This commit is contained in:
Steffen Schaefer committed 2017-05-16 09:42:02 +02:00
1 parent 8cf9053d37
commit 9123771f34
2780 files changed
+301735 -301735

No files matched your search

@@ -1,25 +1,25 @@
package difflib;
import java.io.Serializable;
import java.util.Comparator;
/**
* @author mksenzov
*/
public class DeltaComparator<T> implements Comparator<Delta<T>>, Serializable {
private static final long serialVersionUID = 1L;
public DeltaComparator() {
}
public int compare(final Delta<T> a, final Delta<T> b) {
final int posA = a.getOriginal().getPosition();
final int posB = b.getOriginal().getPosition();
if (posA > posB) {
return 1;
} else if (posA < posB) {
return -1;
}
return 0;
}
package difflib;
import java.io.Serializable;
import java.util.Comparator;
/**
* @author mksenzov
*/
public class DeltaComparator<T> implements Comparator<Delta<T>>, Serializable {
private static final long serialVersionUID = 1L;
public DeltaComparator() {
}
public int compare(final Delta<T> a, final Delta<T> b) {
final int posA = a.getOriginal().getPosition();
final int posB = b.getOriginal().getPosition();
if (posA > posB) {
return 1;
} else if (posA < posB) {
return -1;
}
return 0;
}
}