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 11package tech .ydb .topic .description ;
22
3- import java .util .Objects ;
4-
53import tech .ydb .proto .topic .YdbTopic ;
64
75/**
@@ -35,18 +33,4 @@ public long getPerHour() {
3533 public long getPerDay () {
3634 return perDay ;
3735 }
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- }
5236}
Original file line number Diff line number Diff line change 11package tech .ydb .topic .read .impl ;
22
3- import java .util .Objects ;
4-
53import tech .ydb .topic .description .OffsetsRange ;
64
75/**
@@ -38,18 +36,4 @@ public void setStart(long start) {
3836 public void setEnd (long end ) {
3937 this .end = end ;
4038 }
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- }
5539}
You can’t perform that action at this time.
0 commit comments