FIXUP: Remove annotations that are not available in Java 8

Signed-off-by: Taylor Smock <taylor.smock@kaart.com>
pull/1/head
Taylor Smock 2020-06-26 09:19:15 -06:00
rodzic 45d424e885
commit 107130a6be
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 625F6A74A3E4311A
1 zmienionych plików z 0 dodań i 4 usunięć

Wyświetl plik

@ -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;
}