From a95390ed7f4e477b94ac12d8e65474a2dccfdbe6 Mon Sep 17 00:00:00 2001 From: Sean Foley Date: Sat, 2 Mar 2024 18:17:14 -0500 Subject: [PATCH] remove explicit toString call --- .../src/inet.ipaddr/inet/ipaddr/format/util/BinaryTreeNode.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/IPAddress/src/inet.ipaddr/inet/ipaddr/format/util/BinaryTreeNode.java b/IPAddress/src/inet.ipaddr/inet/ipaddr/format/util/BinaryTreeNode.java index 303fedaa..f48fb512 100644 --- a/IPAddress/src/inet.ipaddr/inet/ipaddr/format/util/BinaryTreeNode.java +++ b/IPAddress/src/inet.ipaddr/inet/ipaddr/format/util/BinaryTreeNode.java @@ -2324,7 +2324,7 @@ void printTree(StringBuilder builder, subNodeIndent = cached.subNodeInd; } if(withNonAdded || next.isAdded()) { - builder.append(nodeIndent).append(next.toString()); // appending next adds the ADDED_NODE_CIRCLE first + builder.append(nodeIndent).append(next); // appending next adds the ADDED_NODE_CIRCLE first if(withSizes) { builder.append(" (").append(next.size()).append(')'); }