Skip to content

Commit

Permalink
Suppress Sonar warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
rmoreliovlabs committed Sep 6, 2023
1 parent e6d8b70 commit 8db4a4e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions rskj-core/src/main/java/co/rsk/rpc/Web3EthModule.java
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@
import java.math.BigInteger;
import java.util.Map;

@SuppressWarnings({"java:S100", "java:S112"})
public interface Web3EthModule {
default String[] eth_accounts() {
return getEthModule().accounts();
Expand Down
1 change: 1 addition & 0 deletions rskj-core/src/main/java/org/ethereum/rpc/Web3Impl.java
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,7 @@
import static java.lang.Math.max;
import static org.ethereum.rpc.exception.RskJsonRpcRequestException.*;

@SuppressWarnings("java:S100")
public class Web3Impl implements Web3 {
private static final Logger logger = LoggerFactory.getLogger("web3");

Expand Down

0 comments on commit 8db4a4e

Please sign in to comment.