From: David ‘Bombe’ Roden Date: Sat, 26 Oct 2013 15:52:03 +0000 (+0200) Subject: Remove annotation, the function can return null. X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=240c6b7c1ba42f97df275110d2762f483a309130;p=Sone.git Remove annotation, the function can return null. --- diff --git a/src/main/java/net/pterodactylus/sone/data/Identified.java b/src/main/java/net/pterodactylus/sone/data/Identified.java index bd1a91f..eec94f1 100644 --- a/src/main/java/net/pterodactylus/sone/data/Identified.java +++ b/src/main/java/net/pterodactylus/sone/data/Identified.java @@ -17,8 +17,6 @@ package net.pterodactylus.sone.data; -import javax.annotation.Nonnull; - import com.google.common.base.Function; /** @@ -32,7 +30,6 @@ public interface Identified { public static final Function GET_ID = new Function() { @Override - @Nonnull public String apply(Identified identified) { return (identified == null) ? null : identified.getId(); }