Replace ArrayList instances with []

This commit is contained in:
Grant Limberg 2015-05-28 16:47:43 -07:00
parent e3feac17b1
commit 7822616966
3 changed files with 10 additions and 10 deletions

View file

@ -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;
}
}