aboutsummaryrefslogtreecommitdiffstats
path: root/serviceview
diff options
context:
space:
mode:
authorHarald Musum <musum@verizonmedia.com>2019-08-29 09:52:43 +0200
committerHarald Musum <musum@verizonmedia.com>2019-08-29 09:52:43 +0200
commit408ae127916b740cfff1620afdce0bc12ae632e9 (patch)
tree565f5dd2a9eaf995115ed66ce3a17d53c274ab18 /serviceview
parent640f1272a1800551f10b96321c82e75c41c6e54d (diff)
Remove use of Nullable and NotNull annotations
Different implementations and using OSGi makes it really hard to use these annotations and the value of using them is IMHO not very high.
Diffstat (limited to 'serviceview')
-rw-r--r--serviceview/src/main/java/com/yahoo/vespa/serviceview/bindings/ServicePort.java4
1 files changed, 1 insertions, 3 deletions
diff --git a/serviceview/src/main/java/com/yahoo/vespa/serviceview/bindings/ServicePort.java b/serviceview/src/main/java/com/yahoo/vespa/serviceview/bindings/ServicePort.java
index a82069ea01d..6fd2f22528a 100644
--- a/serviceview/src/main/java/com/yahoo/vespa/serviceview/bindings/ServicePort.java
+++ b/serviceview/src/main/java/com/yahoo/vespa/serviceview/bindings/ServicePort.java
@@ -6,8 +6,6 @@ import java.util.List;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.google.common.base.Splitter;
-import edu.umd.cs.findbugs.annotations.NonNull;
-
/**
* View of {@link com.yahoo.cloud.config.ModelConfig.Hosts.Services.Ports}.
*
@@ -28,7 +26,7 @@ public class ServicePort {
* @return true if all argument tags are present for this port, false
* otherwise
*/
- public boolean hasTags(@NonNull String... tag) {
+ public boolean hasTags(String... tag) {
if (tags == null) {
return false;
}