mirror of
https://github.com/haveno-dex/haveno.git
synced 2025-07-24 15:35:34 -04:00
Use #ofType in commandline parsing for type safety
- Remove Node#getPortAsString; it is now no longer necessary
This commit is contained in:
parent
0e167bed6c
commit
8d70e23ba5
5 changed files with 6 additions and 10 deletions
|
@ -46,7 +46,6 @@ public class NodeTests {
|
|||
assertThat(node1a.hashCode(), not(equalTo(node2.hashCode())));
|
||||
|
||||
assertThat(node1a.getPort(), equalTo(Node.DEFAULT_PORT));
|
||||
assertThat(node1a.getPortAsString(), equalTo(String.valueOf(Node.DEFAULT_PORT)));
|
||||
|
||||
Node node3a = Node.at("bitsquare3.example.com", "203.0.113.3", 1234);
|
||||
Node node3b = Node.at("bitsquare3.example.com", "203.0.113.3", "1234");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue