File tree Expand file tree Collapse file tree 1 file changed +3
-5
lines changed
opengrok-indexer/src/main/java/org/opengrok/indexer/history Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Original file line number Diff line number Diff line change 31
31
*
32
32
* @author Stanislav Kozina
33
33
*/
34
- public abstract class TagEntry implements Comparable {
34
+ public abstract class TagEntry implements Comparable < TagEntry > {
35
35
36
36
protected int revision ;
37
37
/**
@@ -92,13 +92,11 @@ public Date getDate() {
92
92
* @return 1 for greater, 0 for equal and -1 for smaller objects.
93
93
*/
94
94
@ Override
95
- public int compareTo (Object aThat ) {
96
- if (this == aThat ) {
95
+ public int compareTo (TagEntry that ) {
96
+ if (this == that ) {
97
97
return 0 ;
98
98
}
99
99
100
- final TagEntry that = (TagEntry ) aThat ;
101
-
102
100
if (this .revision != NOREV ) {
103
101
return ((Integer ) this .revision ).compareTo (that .revision );
104
102
}
You can’t perform that action at this time.
0 commit comments