You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flink.apache.org by se...@apache.org on 2020/02/14 17:31:16 UTC
[flink-statefun] 11/11: [hotfix] Remove @NonNull annotation
This is an automated email from the ASF dual-hosted git repository.
sewen pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/flink-statefun.git
commit 4428f3e3050eeabedac4decaa036db6ea11e7cef
Author: Igal Shilman <ig...@gmail.com>
AuthorDate: Fri Feb 14 18:26:01 2020 +0100
[hotfix] Remove @NonNull annotation
---
.../java/org/apache/flink/statefun/flink/core/common/PolyglotUtil.java | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/statefun-flink/statefun-flink-core/src/main/java/org/apache/flink/statefun/flink/core/common/PolyglotUtil.java b/statefun-flink/statefun-flink-core/src/main/java/org/apache/flink/statefun/flink/core/common/PolyglotUtil.java
index c901e77..18cc5bb 100644
--- a/statefun-flink/statefun-flink-core/src/main/java/org/apache/flink/statefun/flink/core/common/PolyglotUtil.java
+++ b/statefun-flink/statefun-flink-core/src/main/java/org/apache/flink/statefun/flink/core/common/PolyglotUtil.java
@@ -22,7 +22,6 @@ import com.google.protobuf.Message;
import com.google.protobuf.Parser;
import java.io.IOException;
import java.io.InputStream;
-import javax.annotation.Nonnull;
import org.apache.flink.statefun.flink.core.polyglot.generated.Address;
import org.apache.flink.statefun.sdk.FunctionType;
@@ -38,7 +37,7 @@ public final class PolyglotUtil {
}
public static Address sdkAddressToPolyglotAddress(
- @Nonnull org.apache.flink.statefun.sdk.Address sdkAddress) {
+ org.apache.flink.statefun.sdk.Address sdkAddress) {
return Address.newBuilder()
.setNamespace(sdkAddress.type().namespace())
.setType(sdkAddress.type().name())