From 240c6b7c1ba42f97df275110d2762f483a309130 Mon Sep 17 00:00:00 2001 From: =?utf8?q?David=20=E2=80=98Bombe=E2=80=99=20Roden?= Date: Sat, 26 Oct 2013 17:52:03 +0200 Subject: [PATCH] Remove annotation, the function can return null. --- src/main/java/net/pterodactylus/sone/data/Identified.java | 3 --- 1 file changed, 3 deletions(-) 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(); } -- 2.7.4