You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flink.apache.org by dw...@apache.org on 2019/01/07 13:08:44 UTC

[flink] branch master updated: [hotfix][runtime] Remove redundant suppression

This is an automated email from the ASF dual-hosted git repository.

dwysakowicz pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/flink.git


The following commit(s) were added to refs/heads/master by this push:
     new 11aa9b6  [hotfix][runtime] Remove redundant suppression
11aa9b6 is described below

commit 11aa9b6d74f3ff8951b3dd8f4a33a87810cb1649
Author: Tzu-Li Chen <wa...@gmail.com>
AuthorDate: Mon Jan 7 21:08:38 2019 +0800

    [hotfix][runtime] Remove redundant suppression
---
 .../org/apache/flink/runtime/registration/RegisteredRpcConnection.java   | 1 -
 1 file changed, 1 deletion(-)

diff --git a/flink-runtime/src/main/java/org/apache/flink/runtime/registration/RegisteredRpcConnection.java b/flink-runtime/src/main/java/org/apache/flink/runtime/registration/RegisteredRpcConnection.java
index 7d2c35a..8c78ede 100644
--- a/flink-runtime/src/main/java/org/apache/flink/runtime/registration/RegisteredRpcConnection.java
+++ b/flink-runtime/src/main/java/org/apache/flink/runtime/registration/RegisteredRpcConnection.java
@@ -86,7 +86,6 @@ public abstract class RegisteredRpcConnection<F extends Serializable, G extends
 	//  Life cycle
 	// ------------------------------------------------------------------------
 
-	@SuppressWarnings("unchecked")
 	public void start() {
 		checkState(!closed, "The RPC connection is already closed");
 		checkState(!isConnected() && pendingRegistration == null, "The RPC connection is already started");