diff options
author | Jon Marius Venstad <venstad@gmail.com> | 2020-04-17 14:16:16 +0200 |
---|---|---|
committer | Jon Marius Venstad <venstad@gmail.com> | 2020-04-17 14:16:16 +0200 |
commit | b98bf882f2d90808349d0ae482c5694aa08e3b2c (patch) | |
tree | 73fe103dd99496413d974f43d8a1a7ca51e29417 /controller-server | |
parent | cf3a25d6906c976fbe12b4eb686c916a383e3bd6 (diff) |
break, not return, from switch statement
Diffstat (limited to 'controller-server')
-rw-r--r-- | controller-server/src/main/java/com/yahoo/vespa/hosted/controller/maintenance/ContactInformationMaintainer.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/controller-server/src/main/java/com/yahoo/vespa/hosted/controller/maintenance/ContactInformationMaintainer.java b/controller-server/src/main/java/com/yahoo/vespa/hosted/controller/maintenance/ContactInformationMaintainer.java index 6b2daeb1323..d1f2087ce12 100644 --- a/controller-server/src/main/java/com/yahoo/vespa/hosted/controller/maintenance/ContactInformationMaintainer.java +++ b/controller-server/src/main/java/com/yahoo/vespa/hosted/controller/maintenance/ContactInformationMaintainer.java @@ -48,9 +48,9 @@ public class ContactInformationMaintainer extends Maintainer { (Optional.of(contact).equals(tenant.contact()) ? "un" : "") + "changed"); tenants.store(lockedTenant.with(contact)); }); - return; + break; case cloud: - return; + break; default: throw new IllegalArgumentException("Unexpected tenant type '" + tenant.type() + "'."); } |