[jira] [Created] (FLINK-4857) ZooKeeperUtils have a throws exception clause without throwing exceptions

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Created] (FLINK-4857) ZooKeeperUtils have a throws exception clause without throwing exceptions

Shang Yuanchun (Jira)
Till Rohrmann created FLINK-4857:
------------------------------------

             Summary: ZooKeeperUtils have a throws exception clause without throwing exceptions
                 Key: FLINK-4857
                 URL: https://issues.apache.org/jira/browse/FLINK-4857
             Project: Flink
          Issue Type: Improvement
            Reporter: Till Rohrmann
            Assignee: Till Rohrmann
            Priority: Minor


Flink's {{ZooKeeperUtils}} contains functions which have a throws clause even though they don't throw an {{Exception}}. This is wrong and should be fixed by removing the throw clauses.

Changing the ZooKeeperUtils will help to properly implement the {{HighAvailabilityServices}} in the flip-6 branch, because the high availability service methods don't have to throw exceptions then.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)