File tree Expand file tree Collapse file tree 2 files changed +7
-3
lines changed
main/java/org/web3j/codegen
test/java/org/web3j/codegen Expand file tree Collapse file tree 2 files changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -407,7 +407,8 @@ FieldSpec createBinaryDefinition(String binary) {
407
407
StringBuilder stringBuilderString = new StringBuilder ().append ("new StringBuilder()" );
408
408
for (String s : argsArray ) {
409
409
stringBuilderString .append (".append(\" " );
410
- stringBuilderString .append (s .replaceAll ("\\ $" , "\\ $\\ $" )); //escape $ which bytecode may contain
410
+ stringBuilderString .append (
411
+ s .replaceAll ("\\ $" , "\\ $\\ $" )); // escape $ which bytecode may contain
411
412
stringBuilderString .append ("\" )" );
412
413
}
413
414
stringBuilderString .append (".toString()" );
Original file line number Diff line number Diff line change @@ -980,9 +980,12 @@ public void testBuildFunctionLinkBinaryWithReferences() throws Exception {
980
980
assertEquals (methodSpec .toString (), (expected ));
981
981
}
982
982
983
-
984
983
@ Test
985
984
public void testBinaryWithUnlinkedLibraryLengthOver65534 () throws Exception {
986
- solidityFunctionWrapper .createBinaryDefinition ("0x" + "a" .repeat (40000 ) + "__$927c5a12e2f339676f56d42ec1c0537964$__" + "a" .repeat (40000 ));
985
+ solidityFunctionWrapper .createBinaryDefinition (
986
+ "0x"
987
+ + "a" .repeat (40000 )
988
+ + "__$927c5a12e2f339676f56d42ec1c0537964$__"
989
+ + "a" .repeat (40000 ));
987
990
}
988
991
}
You can’t perform that action at this time.
0 commit comments