1
0
Fork 0
mirror of https://github.com/pgpainless/pgpainless.git synced 2024-11-05 12:05:58 +01:00

Remove unused method from Network.Builder class

This commit is contained in:
Paul Schaub 2023-07-15 17:27:38 +02:00
parent 8aa3df5878
commit bdff2c5053
Signed by: vanitasvitae
GPG key ID: 62BEE9264BF17311

View file

@ -76,10 +76,6 @@ class Network(
return this
}
fun getNode(fingerprint: Fingerprint): Node? {
return nodes[fingerprint]
}
fun addEdge(edge: EdgeComponent): Builder {
protoEdges.getOrPut(Pair(edge.issuer.fingerprint, edge.target.fingerprint)) {
Edge.empty(edge.issuer, edge.target)