[wpilibj] Fix NPE in Field2d (#2909)

This commit is contained in:
Prateek Machiraju
2020-12-05 11:46:54 -05:00
committed by GitHub
parent 125af556ce
commit 0075e4b391

View File

@@ -149,5 +149,5 @@ public class FieldObject2d {
String m_name;
NetworkTableEntry m_entry;
private List<Pose2d> m_poses;
private final List<Pose2d> m_poses = new ArrayList<>();
}