Skip to content

Commit

Permalink
minor refactors
Browse files Browse the repository at this point in the history
  • Loading branch information
esaulpaugh committed Oct 18, 2024
1 parent 0138b30 commit 14860c8
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 6 deletions.
6 changes: 3 additions & 3 deletions src/main/java/com/esaulpaugh/headlong/cli/Main.java
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,13 @@
import com.esaulpaugh.headlong.abi.ABIType;
import com.esaulpaugh.headlong.abi.Address;
import com.esaulpaugh.headlong.abi.Function;
import com.esaulpaugh.headlong.abi.SuperSerial;
import com.esaulpaugh.headlong.abi.Tuple;
import com.esaulpaugh.headlong.abi.TupleType;
import com.esaulpaugh.headlong.util.Uint;
import com.esaulpaugh.headlong.rlp.Notation;
import com.esaulpaugh.headlong.rlp.RLPEncoder;
import com.esaulpaugh.headlong.util.Strings;
import com.esaulpaugh.headlong.abi.SuperSerial;
import com.esaulpaugh.headlong.util.Uint;

import java.math.BigInteger;
import java.net.URL;
Expand Down Expand Up @@ -342,7 +342,7 @@ private static String describe(ABIObject o) {
throw new AssertionError();
}

private static String getParamNames(TupleType params) {
private static String getParamNames(TupleType<Tuple> params) {
boolean hasName = false;
final int size = params.size();
for (int i = 0; i < size; i++) {
Expand Down
2 changes: 1 addition & 1 deletion src/test/java/com/esaulpaugh/headlong/cli/DesugarTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@

import com.esaulpaugh.headlong.abi.Function;
import com.esaulpaugh.headlong.abi.Single;
import com.esaulpaugh.headlong.abi.SuperSerial;
import com.esaulpaugh.headlong.abi.Tuple;
import com.esaulpaugh.headlong.abi.TupleType;
import com.esaulpaugh.headlong.util.FastHex;
import com.esaulpaugh.headlong.abi.SuperSerial;
import org.junit.jupiter.api.Test;

import java.math.BigInteger;
Expand Down
3 changes: 1 addition & 2 deletions src/test/java/com/esaulpaugh/headlong/cli/MainTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,11 @@
import com.esaulpaugh.headlong.abi.ByteType;
import com.esaulpaugh.headlong.abi.Function;
import com.esaulpaugh.headlong.abi.Single;
import com.esaulpaugh.headlong.abi.Triple;
import com.esaulpaugh.headlong.abi.SuperSerial;
import com.esaulpaugh.headlong.abi.Tuple;
import com.esaulpaugh.headlong.abi.TupleType;
import com.esaulpaugh.headlong.abi.TypeFactory;
import com.esaulpaugh.headlong.util.Strings;
import com.esaulpaugh.headlong.abi.SuperSerial;
import org.junit.jupiter.api.Test;

import java.math.BigDecimal;
Expand Down

0 comments on commit 14860c8

Please sign in to comment.