From bbe9931321d4ff2269a67c2dbd754f72600d8343 Mon Sep 17 00:00:00 2001 From: "Filip.Gumula" Date: Sat, 18 Nov 2023 20:42:35 +0100 Subject: [PATCH] format - spotlessApply Signed-off-by: Neo --- .../besu/ethereum/trie/verkle/SimpleVerkleTrie.java | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/src/main/java/org/hyperledger/besu/ethereum/trie/verkle/SimpleVerkleTrie.java b/src/main/java/org/hyperledger/besu/ethereum/trie/verkle/SimpleVerkleTrie.java index 3b9e7e3..94ab974 100644 --- a/src/main/java/org/hyperledger/besu/ethereum/trie/verkle/SimpleVerkleTrie.java +++ b/src/main/java/org/hyperledger/besu/ethereum/trie/verkle/SimpleVerkleTrie.java @@ -155,7 +155,9 @@ public void commit(final NodeUpdater nodeUpdater) { * @return The DOT representation of the Verkle Trie. */ public String toDotTree(Boolean showRepeatingEdges) { - return String.format("digraph VerkleTrie {\n%s\n}", getRoot().toDot(showRepeatingEdges).replaceAll("^\\n+|\\n+$", "")); + return String.format( + "digraph VerkleTrie {\n%s\n}", + getRoot().toDot(showRepeatingEdges).replaceAll("^\\n+|\\n+$", "")); } /** @@ -174,7 +176,8 @@ public String toDotTree() { } /** - * Exports the Verkle Trie DOT representation to a '.gv' file located in the current directory. + * Exports the Verkle Trie DOT representation to a '.gv' file located in the + * current directory. * The default file name is "VerkleTree.gv". * * @throws IOException if an I/O error occurs. @@ -184,7 +187,8 @@ public void dotTreeToFile() throws IOException { } /** - * /** Exports the Verkle Trie DOT representation to a '.gv' file located at the specified path. + * /** Exports the Verkle Trie DOT representation to a '.gv' file located at the + * specified path. * * @param path The location where the DOT file will be saved. * @throws IOException if ann I/O error occurs.