Skip to content

Commit

Permalink
format - spotlessApply
Browse files Browse the repository at this point in the history
  • Loading branch information
Uacias committed Nov 18, 2023
1 parent 6fcda7b commit 59bec26
Showing 1 changed file with 5 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,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 @@ -162,7 +164,8 @@ public String toDotTree(Boolean showRepeatingEdges) {
* @return The DOT representation of the Verkle Trie.
*/
public String toDotTree() {
return String.format("digraph VerkleTrie {\n%s\n}", getRoot().toDot().replaceAll("^\\n+|\\n+$", ""));
return String.format(
"digraph VerkleTrie {\n%s\n}", getRoot().toDot().replaceAll("^\\n+|\\n+$", ""));
}

/**
Expand Down

0 comments on commit 59bec26

Please sign in to comment.