From 107130a6bed6c0b8e10d962a340560a9464c6a5b Mon Sep 17 00:00:00 2001 From: Taylor Smock Date: Fri, 26 Jun 2020 09:19:15 -0600 Subject: [PATCH] FIXUP: Remove annotations that are not available in Java 8 Signed-off-by: Taylor Smock --- .../josm/plugins/mapwithai/data/mapwithai/MapWithAIInfo.java | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/main/java/org/openstreetmap/josm/plugins/mapwithai/data/mapwithai/MapWithAIInfo.java b/src/main/java/org/openstreetmap/josm/plugins/mapwithai/data/mapwithai/MapWithAIInfo.java index b3fa4e8..3d5b41e 100644 --- a/src/main/java/org/openstreetmap/josm/plugins/mapwithai/data/mapwithai/MapWithAIInfo.java +++ b/src/main/java/org/openstreetmap/josm/plugins/mapwithai/data/mapwithai/MapWithAIInfo.java @@ -14,8 +14,6 @@ import java.util.Objects; import java.util.stream.Collectors; import java.util.stream.Stream; -import javax.annotation.CheckForNull; -import javax.annotation.Nonnull; import javax.json.Json; import javax.json.JsonArray; import javax.json.JsonObject; @@ -310,7 +308,6 @@ public class MapWithAIInfo extends * * @return The desired source tag, or {@code null}. */ - @CheckForNull public String getSource() { return this.source; } @@ -339,7 +336,6 @@ public class MapWithAIInfo extends * @return The primary category (i.e., buildings, featured, preview, addresses, * etc) */ - @Nonnull public MapWithAICategory getCategory() { return category == null ? MapWithAICategory.OTHER.getDefault() : category; }