mirror of
https://github.com/vacp2p/linea-besu.git
synced 2026-01-08 20:47:59 -05:00
Upgrade spotless to 1.22.0 (#6898)
Upgrade spotless to 1.22.0 and reformat. This is required for Java21 support. Signed-off-by: Danno Ferrin <danno@numisight.com> Co-authored-by: Danno Ferrin <danno@numisight.com> Co-authored-by: Sally MacFarlane <macfarla.github@gmail.com>
This commit is contained in:
@@ -146,6 +146,7 @@ public final class BlockTestUtil {
|
||||
public static ChainResources getUpgradedForkResources() {
|
||||
return forkUpgradedSupplier.get();
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets Eth Ref Test resources.
|
||||
*
|
||||
|
||||
@@ -139,6 +139,7 @@ public class DeterministicEthScheduler extends EthScheduler {
|
||||
public interface TimeoutPolicy {
|
||||
/** A policy that never timeouts */
|
||||
TimeoutPolicy NEVER_TIMEOUT = () -> false;
|
||||
|
||||
/** A policy that timeouts on every task */
|
||||
TimeoutPolicy ALWAYS_TIMEOUT = () -> true;
|
||||
|
||||
|
||||
@@ -132,6 +132,7 @@ public class JsonTestParameters<S, T> {
|
||||
|
||||
// The type to which the json file is directly mapped
|
||||
private final Class<S> jsonFileMappedType;
|
||||
|
||||
// The final type of the test case spec, which may or may not not be same than jsonFileMappedType
|
||||
// Note that we don't really use this field as of now, but as this is the actual type of the final
|
||||
// spec used by tests, it feels "right" to have it passed explicitly at construction and having it
|
||||
|
||||
@@ -55,6 +55,7 @@ public class TesseraTestHarness implements EnclaveTestHarness {
|
||||
|
||||
private final int thirdPartyPort = 9081;
|
||||
private final int q2TPort = 9082;
|
||||
|
||||
/** The constant p2pPort. */
|
||||
public static final int p2pPort = 9001;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user