diff options
author | Harald Musum <musum@verizonmedia.com> | 2019-08-29 08:20:12 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-08-29 08:20:12 +0200 |
commit | b06a0fe9369e32385dba6954ff1f56818ad372c9 (patch) | |
tree | ebf30e21afab09d522a83c790b219aaa8e1b4ab7 /serviceview/src | |
parent | 40320e4c1ac0cb2b6ae8c0dc09f76f85ddd5c506 (diff) |
Revert "Upgrade to zookeeper 3.4.14, take 5"
Diffstat (limited to 'serviceview/src')
-rw-r--r-- | serviceview/src/main/java/com/yahoo/vespa/serviceview/bindings/ServicePort.java | 6 |
1 files changed, 4 insertions, 2 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 98db96a902a..a82069ea01d 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,11 +6,13 @@ 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}. * * @author mortent - * @author Steinar Knutsen + * @author <a href="mailto:steinar@yahoo-inc.com">Steinar Knutsen</a> */ @JsonIgnoreProperties(value = { "splitOnSpace" }, ignoreUnknown = true) public class ServicePort { @@ -26,7 +28,7 @@ public class ServicePort { * @return true if all argument tags are present for this port, false * otherwise */ - public boolean hasTags(String... tag) { + public boolean hasTags(@NonNull String... tag) { if (tags == null) { return false; } |