diff options
author | Valerij Fredriksen <freva@users.noreply.github.com> | 2019-08-29 08:55:37 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-08-29 08:55:37 +0200 |
commit | 640f1272a1800551f10b96321c82e75c41c6e54d (patch) | |
tree | d84a7e93e4ecb72b9eea46bb968ab135b6818067 /serviceview/src | |
parent | ab2dd24cbc0cb33abe3e3c0cb062cd340f265ab3 (diff) | |
parent | b06a0fe9369e32385dba6954ff1f56818ad372c9 (diff) |
Merge pull request #10452 from vespa-engine/revert-10435-revert-10428-revert-10402-revert-10388-revert-10370-revert-10346-revert-10336-hmusum/upgrade-to-zookeeper-3.4.14
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; } |