Skip to content

Commit bb83e21

Browse files
committed
[1.1.0-SNAPSHOT]
Code style applied Experimental features marked
1 parent 268e5e9 commit bb83e21

File tree

4 files changed

+7
-3
lines changed

4 files changed

+7
-3
lines changed

src/main/java/io/api/etherscan/core/IEventsApi.java

+3
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,15 @@
33
import io.api.etherscan.error.ApiException;
44
import io.api.etherscan.model.event.IEvent;
55
import io.api.etherscan.model.query.impl.LogQuery;
6+
import org.jetbrains.annotations.ApiStatus.Experimental;
67
import org.jetbrains.annotations.NotNull;
78

89
import java.util.List;
910

1011
/**
1112
* EtherScan - API Descriptions https://etherscan.io/apis#logs
1213
*/
14+
@Experimental
1315
public interface IEventsApi {
1416

1517
/**
@@ -22,6 +24,7 @@ public interface IEventsApi {
2224
*
2325
* @see io.api.etherscan.model.query.impl.LogQueryBuilder
2426
*/
27+
@Experimental
2528
@NotNull
2629
List<IEvent> events(LogQuery query) throws ApiException;
2730
}

src/main/java/io/api/etherscan/core/impl/EtherScanApi.java

+1-2
Original file line numberDiff line numberDiff line change
@@ -68,8 +68,7 @@ public EtherScanApi(final String apiKey,
6868
this(apiKey, network, executorSupplier,
6969
DEFAULT_KEY.equals(apiKey)
7070
? QueueManager.DEFAULT_KEY_QUEUE
71-
: new FakeQueueManager()
72-
);
71+
: new FakeQueueManager());
7372
}
7473

7574
public EtherScanApi(final String apiKey,

src/main/java/io/api/etherscan/core/impl/EventsApiProvider.java

+3
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
import io.api.etherscan.model.query.impl.LogQuery;
99
import io.api.etherscan.model.utility.LogResponseTO;
1010
import io.api.etherscan.util.BasicUtils;
11+
import org.jetbrains.annotations.ApiStatus.Experimental;
1112
import org.jetbrains.annotations.NotNull;
1213

1314
import java.util.Collections;
@@ -20,6 +21,7 @@
2021
* @see IEventsApi
2122
*
2223
*/
24+
@Experimental
2325
public class EventsApiProvider extends BasicProvider implements IEventsApi {
2426

2527
private static final String ACT_LOGS_PARAM = ACT_PREFIX + "getLogs";
@@ -30,6 +32,7 @@ public class EventsApiProvider extends BasicProvider implements IEventsApi {
3032
super(queue, "logs", baseUrl, executor);
3133
}
3234

35+
@Experimental
3336
@NotNull
3437
@Override
3538
public List<IEvent> events(final LogQuery query) throws ApiException {

src/main/java/io/api/etherscan/manager/impl/QueueManager.java

-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
package io.api.etherscan.manager.impl;
22

3-
import io.api.etherscan.core.impl.EtherScanApi;
43
import io.api.etherscan.manager.IQueueManager;
54

65
import java.util.concurrent.*;

0 commit comments

Comments
 (0)