kopia lustrzana https://github.com/JOSM/MapWithAI
FIXUP: Remove annotations that are not available in Java 8
Signed-off-by: Taylor Smock <taylor.smock@kaart.com>pull/1/head
rodzic
45d424e885
commit
107130a6be
|
@ -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;
|
||||
}
|
||||
|
|
Ładowanie…
Reference in New Issue