@@ -68,23 +68,18 @@ public class ENSRegistryWithFallbackContract extends Contract {
68
68
69
69
public static final Event APPROVALFORALL_EVENT = new Event ("ApprovalForAll" ,
70
70
Arrays .<TypeReference <?>>asList (new TypeReference <Address >(true ) {}, new TypeReference <Address >(true ) {}, new TypeReference <Bool >() {}));
71
- ;
72
71
73
72
public static final Event NEWOWNER_EVENT = new Event ("NewOwner" ,
74
73
Arrays .<TypeReference <?>>asList (new TypeReference <Bytes32 >(true ) {}, new TypeReference <Bytes32 >(true ) {}, new TypeReference <Address >() {}));
75
- ;
76
74
77
75
public static final Event NEWRESOLVER_EVENT = new Event ("NewResolver" ,
78
76
Arrays .<TypeReference <?>>asList (new TypeReference <Bytes32 >(true ) {}, new TypeReference <Address >() {}));
79
- ;
80
77
81
78
public static final Event NEWTTL_EVENT = new Event ("NewTTL" ,
82
79
Arrays .<TypeReference <?>>asList (new TypeReference <Bytes32 >(true ) {}, new TypeReference <Uint64 >() {}));
83
- ;
84
80
85
81
public static final Event TRANSFER_EVENT = new Event ("Transfer" ,
86
82
Arrays .<TypeReference <?>>asList (new TypeReference <Bytes32 >(true ) {}, new TypeReference <Address >() {}));
87
- ;
88
83
89
84
@ Deprecated
90
85
protected ENSRegistryWithFallbackContract (String contractAddress , Web3j web3j , Credentials credentials , BigInteger gasPrice , BigInteger gasLimit ) {
@@ -106,7 +101,7 @@ protected ENSRegistryWithFallbackContract(String contractAddress, Web3j web3j, T
106
101
107
102
public List <ApprovalForAllEventResponse > getApprovalForAllEvents (TransactionReceipt transactionReceipt ) {
108
103
List <Contract .EventValuesWithLog > valueList = extractEventParametersWithLog (APPROVALFORALL_EVENT , transactionReceipt );
109
- ArrayList <ApprovalForAllEventResponse > responses = new ArrayList <ApprovalForAllEventResponse >(valueList .size ());
104
+ ArrayList <ApprovalForAllEventResponse > responses = new ArrayList <>(valueList .size ());
110
105
for (Contract .EventValuesWithLog eventValues : valueList ) {
111
106
ApprovalForAllEventResponse typedResponse = new ApprovalForAllEventResponse ();
112
107
typedResponse .log = eventValues .getLog ();
@@ -141,7 +136,7 @@ public Flowable<ApprovalForAllEventResponse> approvalForAllEventFlowable(Default
141
136
142
137
public List <NewOwnerEventResponse > getNewOwnerEvents (TransactionReceipt transactionReceipt ) {
143
138
List <Contract .EventValuesWithLog > valueList = extractEventParametersWithLog (NEWOWNER_EVENT , transactionReceipt );
144
- ArrayList <NewOwnerEventResponse > responses = new ArrayList <NewOwnerEventResponse >(valueList .size ());
139
+ ArrayList <NewOwnerEventResponse > responses = new ArrayList <>(valueList .size ());
145
140
for (Contract .EventValuesWithLog eventValues : valueList ) {
146
141
NewOwnerEventResponse typedResponse = new NewOwnerEventResponse ();
147
142
typedResponse .log = eventValues .getLog ();
@@ -176,7 +171,7 @@ public Flowable<NewOwnerEventResponse> newOwnerEventFlowable(DefaultBlockParamet
176
171
177
172
public List <NewResolverEventResponse > getNewResolverEvents (TransactionReceipt transactionReceipt ) {
178
173
List <Contract .EventValuesWithLog > valueList = extractEventParametersWithLog (NEWRESOLVER_EVENT , transactionReceipt );
179
- ArrayList <NewResolverEventResponse > responses = new ArrayList <NewResolverEventResponse >(valueList .size ());
174
+ ArrayList <NewResolverEventResponse > responses = new ArrayList <>(valueList .size ());
180
175
for (Contract .EventValuesWithLog eventValues : valueList ) {
181
176
NewResolverEventResponse typedResponse = new NewResolverEventResponse ();
182
177
typedResponse .log = eventValues .getLog ();
@@ -209,7 +204,7 @@ public Flowable<NewResolverEventResponse> newResolverEventFlowable(DefaultBlockP
209
204
210
205
public List <NewTTLEventResponse > getNewTTLEvents (TransactionReceipt transactionReceipt ) {
211
206
List <Contract .EventValuesWithLog > valueList = extractEventParametersWithLog (NEWTTL_EVENT , transactionReceipt );
212
- ArrayList <NewTTLEventResponse > responses = new ArrayList <NewTTLEventResponse >(valueList .size ());
207
+ ArrayList <NewTTLEventResponse > responses = new ArrayList <>(valueList .size ());
213
208
for (Contract .EventValuesWithLog eventValues : valueList ) {
214
209
NewTTLEventResponse typedResponse = new NewTTLEventResponse ();
215
210
typedResponse .log = eventValues .getLog ();
@@ -242,7 +237,7 @@ public Flowable<NewTTLEventResponse> newTTLEventFlowable(DefaultBlockParameter s
242
237
243
238
public List <TransferEventResponse > getTransferEvents (TransactionReceipt transactionReceipt ) {
244
239
List <Contract .EventValuesWithLog > valueList = extractEventParametersWithLog (TRANSFER_EVENT , transactionReceipt );
245
- ArrayList <TransferEventResponse > responses = new ArrayList <TransferEventResponse >(valueList .size ());
240
+ ArrayList <TransferEventResponse > responses = new ArrayList <>(valueList .size ());
246
241
for (Contract .EventValuesWithLog eventValues : valueList ) {
247
242
TransferEventResponse typedResponse = new TransferEventResponse ();
248
243
typedResponse .log = eventValues .getLog ();
0 commit comments