Skip to content

Commit

Permalink
remove trailing line breaks from some log messages
Browse files Browse the repository at this point in the history
  • Loading branch information
zoff99 committed Nov 30, 2024
1 parent 7aa6f92 commit e9230d5
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/main/kotlin/Main.kt
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand All @@ -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)
Expand All @@ -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++
}
}
Expand All @@ -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++
}
}
Expand Down

0 comments on commit e9230d5

Please sign in to comment.