mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-22 01:11:42 +00:00
[wpilibj] Suppress JDK 21 this-escape warning (#6996)
This commit is contained in:
@@ -70,6 +70,7 @@ public class Alert {
|
||||
* @param text Text to be displayed when the alert is active.
|
||||
* @param type Alert urgency level.
|
||||
*/
|
||||
@SuppressWarnings("this-escape")
|
||||
public Alert(String group, String text, AlertType type) {
|
||||
if (!groups.containsKey(group)) {
|
||||
groups.put(group, new SendableAlerts());
|
||||
|
||||
Reference in New Issue
Block a user