diff --git a/wpilibj/src/main/java/edu/wpi/first/wpilibj/Alert.java b/wpilibj/src/main/java/edu/wpi/first/wpilibj/Alert.java index 8f66dc1b905..4e95dfd16c1 100644 --- a/wpilibj/src/main/java/edu/wpi/first/wpilibj/Alert.java +++ b/wpilibj/src/main/java/edu/wpi/first/wpilibj/Alert.java @@ -164,9 +164,6 @@ public Set getSetForType(AlertType type) { } private String[] getStrings(AlertType type) { - // TODO: some optimizations available here- could iterate explicitly and cache the array for - // potential reuse (if size is same, refill array, if nothing has changed, return original - // array) return getSetForType(type).stream().map(a -> a.text()).toArray(String[]::new); }