mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-24 01:31:46 +00:00
HashMap -> LinkedHashMap (#492)
This commit is contained in:
committed by
Fred Silberberg
parent
0b9ff68da1
commit
846eee2f6c
@@ -7,7 +7,7 @@
|
||||
|
||||
package edu.wpi.first.wpilibj.smartdashboard;
|
||||
|
||||
import java.util.HashMap;
|
||||
import java.util.LinkedHashMap;
|
||||
|
||||
import edu.wpi.first.wpilibj.Sendable;
|
||||
import edu.wpi.first.wpilibj.command.Command;
|
||||
@@ -42,7 +42,7 @@ public class SendableChooser<V> implements Sendable {
|
||||
/**
|
||||
* A map linking strings to the objects the represent.
|
||||
*/
|
||||
private final HashMap<String, V> m_map = new HashMap<>();
|
||||
private final LinkedHashMap<String, V> m_map = new LinkedHashMap<>();
|
||||
private String m_defaultChoice = null;
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user