Skip to content

Commit

Permalink
[hotfix][runtime] Cleans up unnecessary annotations
Browse files Browse the repository at this point in the history
  • Loading branch information
XComp authored and tillrohrmann committed May 18, 2021
1 parent 73fcaa1 commit 15eafd9
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -289,7 +289,6 @@ public Collection<String> getAllHandles() throws Exception {
* @return All state handles from ZooKeeper.
* @throws Exception If a ZooKeeper or state handle operation fails
*/
@SuppressWarnings("unchecked")
@Override
public List<Tuple2<RetrievableStateHandle<T>, String>> getAllAndLock() throws Exception {
final List<Tuple2<RetrievableStateHandle<T>, String>> stateHandles = new ArrayList<>();
Expand Down Expand Up @@ -493,7 +492,6 @@ protected String getLockPath(String rootPath) {
* @throws IOException Thrown if the method failed to deserialize the stored state handle
* @throws Exception Thrown if a ZooKeeper operation failed
*/
@SuppressWarnings("unchecked")
private RetrievableStateHandle<T> get(String pathInZooKeeper, boolean lock) throws Exception {
checkNotNull(pathInZooKeeper, "Path in ZooKeeper");

Expand Down

0 comments on commit 15eafd9

Please sign in to comment.