@@ -37,14 +37,14 @@ final class LogQueryBuilderImpl implements LogQuery.Builder {
37
37
}
38
38
39
39
@ Override
40
- public @ NotNull LogTopicSingle withTopic (String topic0 ) {
40
+ public @ NotNull LogTopicSingle withTopic (@ NotNull String topic0 ) {
41
41
if (BasicUtils .isNotHex (topic0 ))
42
42
throw new ErtherScanLogQueryException ("topic0 can not be empty or non hex." );
43
43
return new LogTopicSingle (address , startBlock , endBlock , topic0 );
44
44
}
45
45
46
46
@ Override
47
- public @ NotNull LogTopicTuple withTopic (String topic0 , String topic1 ) {
47
+ public @ NotNull LogTopicTuple withTopic (@ NotNull String topic0 , @ NotNull String topic1 ) {
48
48
if (BasicUtils .isNotHex (topic0 ))
49
49
throw new ErtherScanLogQueryException ("topic0 can not be empty or non hex." );
50
50
if (BasicUtils .isNotHex (topic1 ))
@@ -53,7 +53,7 @@ final class LogQueryBuilderImpl implements LogQuery.Builder {
53
53
}
54
54
55
55
@ Override
56
- public @ NotNull LogTopicTriple withTopic (String topic0 , String topic1 , String topic2 ) {
56
+ public @ NotNull LogTopicTriple withTopic (@ NotNull String topic0 , @ NotNull String topic1 , @ NotNull String topic2 ) {
57
57
if (BasicUtils .isNotHex (topic0 ))
58
58
throw new ErtherScanLogQueryException ("topic0 can not be empty or non hex." );
59
59
if (BasicUtils .isNotHex (topic1 ))
@@ -64,7 +64,8 @@ final class LogQueryBuilderImpl implements LogQuery.Builder {
64
64
}
65
65
66
66
@ Override
67
- public @ NotNull LogTopicQuadro withTopic (String topic0 , String topic1 , String topic2 , String topic3 ) {
67
+ public @ NotNull LogTopicQuadro
68
+ withTopic (@ NotNull String topic0 , @ NotNull String topic1 , @ NotNull String topic2 , @ NotNull String topic3 ) {
68
69
if (BasicUtils .isNotHex (topic0 ))
69
70
throw new ErtherScanLogQueryException ("topic0 can not be empty or non hex." );
70
71
if (BasicUtils .isNotHex (topic1 ))
0 commit comments