Replace ArrayList instances with []
This commit is contained in:
parent
e3feac17b1
commit
7822616966
3 changed files with 10 additions and 10 deletions
|
@ -41,7 +41,7 @@ public final class Peer {
|
|||
private int versionRev;
|
||||
private int latency;
|
||||
private PeerRole role;
|
||||
private ArrayList<PeerPhysicalPath> paths;
|
||||
private PeerPhysicalPath[] paths;
|
||||
|
||||
private Peer() {}
|
||||
|
||||
|
@ -104,7 +104,7 @@ public final class Peer {
|
|||
/**
|
||||
* Known network paths to peer
|
||||
*/
|
||||
public final ArrayList<PeerPhysicalPath> paths() {
|
||||
public final PeerPhysicalPath[] paths() {
|
||||
return paths;
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue