File tree Expand file tree Collapse file tree 2 files changed +0
-32
lines changed
topic/src/main/java/tech/ydb/topic Expand file tree Collapse file tree 2 files changed +0
-32
lines changed Original file line number Diff line number Diff line change 1
1
package tech .ydb .topic .description ;
2
2
3
- import java .util .Objects ;
4
-
5
3
import tech .ydb .proto .topic .YdbTopic ;
6
4
7
5
/**
@@ -35,18 +33,4 @@ public long getPerHour() {
35
33
public long getPerDay () {
36
34
return perDay ;
37
35
}
38
-
39
- @ Override
40
- public boolean equals (Object o ) {
41
- if (o == null || getClass () != o .getClass ()) {
42
- return false ;
43
- }
44
- MultipleWindowsStat that = (MultipleWindowsStat ) o ;
45
- return perMinute == that .perMinute && perHour == that .perHour && perDay == that .perDay ;
46
- }
47
-
48
- @ Override
49
- public int hashCode () {
50
- return Objects .hash (perMinute , perHour , perDay );
51
- }
52
36
}
Original file line number Diff line number Diff line change 1
1
package tech .ydb .topic .read .impl ;
2
2
3
- import java .util .Objects ;
4
-
5
3
import tech .ydb .topic .description .OffsetsRange ;
6
4
7
5
/**
@@ -38,18 +36,4 @@ public void setStart(long start) {
38
36
public void setEnd (long end ) {
39
37
this .end = end ;
40
38
}
41
-
42
- @ Override
43
- public boolean equals (Object o ) {
44
- if (o == null || getClass () != o .getClass ()) {
45
- return false ;
46
- }
47
- OffsetsRangeImpl that = (OffsetsRangeImpl ) o ;
48
- return start == that .start && end == that .end ;
49
- }
50
-
51
- @ Override
52
- public int hashCode () {
53
- return Objects .hash (start , end );
54
- }
55
39
}
You can’t perform that action at this time.
0 commit comments