This is an automated email from the ASF dual-hosted git repository.
toulmean pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-tuweni.git
The following commit(s) were added to refs/heads/master by this push:
new 60f1fae fix spotless
60f1fae is described below
commit 60f1faefdedc2ed9e786d008cbff66dd1e62f33a
Author: Antoine Toulme <[email protected]>
AuthorDate: Sat Apr 25 23:42:52 2020 -0700
fix spotless
---
.../kotlin/org/apache/tuweni/eth/repository/BlockchainRepository.kt | 6 +++++-
eth/src/main/java/org/apache/tuweni/eth/Address.java | 2 --
eth/src/main/java/org/apache/tuweni/eth/Hash.java | 3 ---
3 files changed, 5 insertions(+), 6 deletions(-)
diff --git
a/eth-repository/src/main/kotlin/org/apache/tuweni/eth/repository/BlockchainRepository.kt
b/eth-repository/src/main/kotlin/org/apache/tuweni/eth/repository/BlockchainRepository.kt
index cb2f43d..86b3439 100644
---
a/eth-repository/src/main/kotlin/org/apache/tuweni/eth/repository/BlockchainRepository.kt
+++
b/eth-repository/src/main/kotlin/org/apache/tuweni/eth/repository/BlockchainRepository.kt
@@ -107,7 +107,11 @@ class BlockchainRepository
* @param txHash the hash of the transaction
* @param blockHash the hash of the block that this transaction belongs to
*/
- suspend fun storeTransactionReceipts(vararg transactionReceipts:
TransactionReceipt, txHash: Bytes, blockHash: Bytes) {
+ suspend fun storeTransactionReceipts(
+ vararg transactionReceipts: TransactionReceipt,
+ txHash: Bytes,
+ blockHash: Bytes
+ ) {
for (i in 0 until transactionReceipts.size) {
storeTransactionReceipt(transactionReceipts[i], i, txHash, blockHash)
}
diff --git a/eth/src/main/java/org/apache/tuweni/eth/Address.java
b/eth/src/main/java/org/apache/tuweni/eth/Address.java
index db4c0c3..6e23759 100644
--- a/eth/src/main/java/org/apache/tuweni/eth/Address.java
+++ b/eth/src/main/java/org/apache/tuweni/eth/Address.java
@@ -16,8 +16,6 @@ import static
com.google.common.base.Preconditions.checkArgument;
import static java.util.Objects.requireNonNull;
import org.apache.tuweni.bytes.Bytes;
-
-import com.google.common.base.Objects;
import org.apache.tuweni.bytes.DelegatingBytes;
/**
diff --git a/eth/src/main/java/org/apache/tuweni/eth/Hash.java
b/eth/src/main/java/org/apache/tuweni/eth/Hash.java
index 4017793..4b5a6a6 100644
--- a/eth/src/main/java/org/apache/tuweni/eth/Hash.java
+++ b/eth/src/main/java/org/apache/tuweni/eth/Hash.java
@@ -16,11 +16,8 @@ import static
com.google.common.base.Preconditions.checkArgument;
import static java.util.Objects.requireNonNull;
import static org.apache.tuweni.crypto.Hash.keccak256;
-import org.apache.tuweni.bytes.AbstractBytes;
import org.apache.tuweni.bytes.Bytes;
import org.apache.tuweni.bytes.Bytes32;
-
-import com.google.common.base.Objects;
import org.apache.tuweni.bytes.DelegatingBytes32;
/**
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]