From 1f7e018c71f44acc56da6bae0a0c414fbfece4e0 Mon Sep 17 00:00:00 2001 From: Antlion12 Date: Tue, 16 Jul 2024 01:12:23 -0700 Subject: [PATCH] Run spotless. --- .../web3j/codegen/SolidityFunctionWrapperGeneratorTest.java | 5 ++++- .../web3j/protocol/core/methods/response/AbiDefinition.java | 6 +++--- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/codegen/src/test/java/org/web3j/codegen/SolidityFunctionWrapperGeneratorTest.java b/codegen/src/test/java/org/web3j/codegen/SolidityFunctionWrapperGeneratorTest.java index ddbefe684..37fda3894 100644 --- a/codegen/src/test/java/org/web3j/codegen/SolidityFunctionWrapperGeneratorTest.java +++ b/codegen/src/test/java/org/web3j/codegen/SolidityFunctionWrapperGeneratorTest.java @@ -246,7 +246,10 @@ public void testArrayOfStructAndStructCompareJavaFile() throws Exception { @Test public void testStaticArrayOfStructsInStructGeneration() throws Exception { testCodeGeneration( - "staticarrayofstructsinstruct", "StaticArrayOfStructsInStruct", JAVA_TYPES_ARG, false); + "staticarrayofstructsinstruct", + "StaticArrayOfStructsInStruct", + JAVA_TYPES_ARG, + false); } @Test diff --git a/core/src/main/java/org/web3j/protocol/core/methods/response/AbiDefinition.java b/core/src/main/java/org/web3j/protocol/core/methods/response/AbiDefinition.java index e13d61295..aeda83955 100644 --- a/core/src/main/java/org/web3j/protocol/core/methods/response/AbiDefinition.java +++ b/core/src/main/java/org/web3j/protocol/core/methods/response/AbiDefinition.java @@ -277,9 +277,9 @@ public void setComponents(final List components) { public String structIdentifier() { return ((internalType == null ? type : internalType.isEmpty() ? type : internalType) - + components.stream() - .map(NamedType::structIdentifier) - .collect(Collectors.joining())); + + components.stream() + .map(NamedType::structIdentifier) + .collect(Collectors.joining())); } public int nestedness() {