diff options
author | Jon Marius Venstad <jonmv@users.noreply.github.com> | 2022-11-14 12:21:02 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-11-14 12:21:02 +0100 |
commit | 5352ffc0e5fd4c179d80e5226a851b80f9656817 (patch) | |
tree | c08322d2388fa6dbfbb03abb43de036933a3719f /zkfacade | |
parent | 2a8b661f439195d6f9fcd055f026a44c2ba1aaec (diff) |
Fix typo
Co-authored-by: Valerij Fredriksen <freva@users.noreply.github.com>
Diffstat (limited to 'zkfacade')
-rw-r--r-- | zkfacade/src/main/java/com/yahoo/vespa/curator/api/VespaCurator.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/zkfacade/src/main/java/com/yahoo/vespa/curator/api/VespaCurator.java b/zkfacade/src/main/java/com/yahoo/vespa/curator/api/VespaCurator.java index f7bfc63e30a..da554ea142e 100644 --- a/zkfacade/src/main/java/com/yahoo/vespa/curator/api/VespaCurator.java +++ b/zkfacade/src/main/java/com/yahoo/vespa/curator/api/VespaCurator.java @@ -153,7 +153,7 @@ public interface VespaCurator { * @Override * public void activate() { * try { resource.open(5, TimeUnit.SECONDS); } // Verify resource works here, and propagate any errors out. - * catch {Exception e) { resource.close(); throw new RuntimeException("failed opening " + resource, e); } + * catch (Exception e) { resource.close(); throw new RuntimeException("failed opening " + resource, e); } * running.set(true); * future = executor.submit(this::doWork); * } |