[ https://issues.apache.org/jira/browse/FLINK-14289?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
zhijiang updated FLINK-14289: ----------------------------- Description: Based on the code style guides for [Jave Optional|#java-optional]] , the optional should not be used for class fields. So we remove the optional usages from RecordWriter, BroadcastRecordWriter and ChannelSelectorRecordWriter. was: Based on the code style guides for [Jave Optional|[https://flink.apache.org/contributing/code-style-and-quality-java.html#java-optional]|https://flink.apache.org/contributing/code-style-and-quality-java.html#java-optional],] , the optional should not be used for class fields. So we remove the optional usages from RecordWriter, BroadcastRecordWriter and ChannelSelectorRecordWriter. > Remove Optional fields from RecordWriter relevant classes > --------------------------------------------------------- > > Key: FLINK-14289 > URL: https://issues.apache.org/jira/browse/FLINK-14289 > Project: Flink > Issue Type: Sub-task > Components: Runtime / Task > Reporter: zhijiang > Assignee: zhijiang > Priority: Minor > > Based on the code style guides for [Jave Optional|#java-optional]] , the > optional should not be used for class fields. > So we remove the optional usages from RecordWriter, BroadcastRecordWriter and > ChannelSelectorRecordWriter. -- This message was sent by Atlassian Jira (v8.3.4#803005)