From 28725bbdf44842a1b435bb97157662fc31ed035d Mon Sep 17 00:00:00 2001 From: Taylor Smock Date: Thu, 19 Oct 2023 14:48:00 -0600 Subject: [PATCH] SegmentChecker: Suppress error_prone false positive Signed-off-by: Taylor Smock --- .../josm/plugins/pt_assistant/validation/SegmentChecker.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/java/org/openstreetmap/josm/plugins/pt_assistant/validation/SegmentChecker.java b/src/main/java/org/openstreetmap/josm/plugins/pt_assistant/validation/SegmentChecker.java index 317ef48b..dfd7e760 100644 --- a/src/main/java/org/openstreetmap/josm/plugins/pt_assistant/validation/SegmentChecker.java +++ b/src/main/java/org/openstreetmap/josm/plugins/pt_assistant/validation/SegmentChecker.java @@ -673,6 +673,7 @@ protected static void modifyStopByStopErrorMessages() { * marked as not fixable. * @param builder error builder */ + @SuppressWarnings("CollectionIncompatibleType") // This is a false positive from error_prone 2.22 private void findFix(TestError.Builder builder) { PTRouteSegment wrongSegment = wrongSegmentBuilders.get(builder);