Skip to content

Commit

Permalink
format - spotlessApply
Browse files Browse the repository at this point in the history
Signed-off-by: Neo <[email protected]>
  • Loading branch information
Uacias authored and neotheprogramist committed Nov 21, 2023
1 parent de98029 commit bbe9931
Showing 1 changed file with 7 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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+$", ""));
}

/**
Expand All @@ -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.
Expand All @@ -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.
Expand Down

0 comments on commit bbe9931

Please sign in to comment.