From e9230d55bbb3429028092f7e22ff88b9efaaed14 Mon Sep 17 00:00:00 2001 From: zoff99 Date: Sat, 30 Nov 2024 08:31:54 +0100 Subject: [PATCH] remove trailing line breaks from some log messages --- src/main/kotlin/Main.kt | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/main/kotlin/Main.kt b/src/main/kotlin/Main.kt index 2d7e043c..499ead17 100644 --- a/src/main/kotlin/Main.kt +++ b/src/main/kotlin/Main.kt @@ -1860,7 +1860,7 @@ fun update_bootstrap_nodes_from_internet() if (bn2.ip != null && !bn2.ip.equals("none", ignoreCase = true) && bn2.port > 0 && bn2.key_hex != null) { orma?.insertIntoBootstrapNodeEntryDB(bn2) - Log.i(TAG, "add UDP node:$bn2") + Log.i(TAG, "add UDP node:" + bn2.toString().trimEnd()) num_udp++ } val bn2_ip6 = BootstrapNodeEntryDB() @@ -1872,7 +1872,7 @@ fun update_bootstrap_nodes_from_internet() if (!bn2_ip6.ip.equals("-", ignoreCase = true) && bn2_ip6.port > 0 && bn2_ip6.key_hex != null) { orma?.insertIntoBootstrapNodeEntryDB(bn2_ip6) - Log.i(TAG, "add UDP ipv6 node:$bn2_ip6") + Log.i(TAG, "add UDP ipv6 node:" + bn2_ip6.toString().trimEnd()) num_udp++ } } catch (e: java.lang.Exception) @@ -1899,7 +1899,7 @@ fun update_bootstrap_nodes_from_internet() bn2.num = num_tcp.toLong() bn2.port = nl_entry.tcpPorts[p]?.toLong()!! orma?.insertIntoBootstrapNodeEntryDB(bn2) - Log.i(TAG, "add tcp node:$bn2") + Log.i(TAG, "add tcp node:" + bn2.toString().trimEnd()) num_tcp++ } } @@ -1920,7 +1920,7 @@ fun update_bootstrap_nodes_from_internet() bn2_ip6_.udp_node = false bn2_ip6_.num = num_tcp.toLong() orma?.insertIntoBootstrapNodeEntryDB(bn2_ip6_) - Log.i(TAG, "add tcp ipv6 node:$bn2_ip6_") + Log.i(TAG, "add tcp ipv6 node:" + bn2_ip6_.toString().trimEnd()) num_tcp++ } }