ivan Qing created FLINK-29124: --------------------------------- Summary: Redundant checkNotNull in cli Package Key: FLINK-29124 URL: https://issues.apache.org/jira/browse/FLINK-29124 Project: Flink Issue Type: Improvement Components: Command Line Client Reporter: ivan Qing
Redundant NotNull checks in function cli/CliFrontend. {*}getEffectiveConfiguration{*}(): {code:java} final ExecutionConfigAccessor executionParameters = ExecutionConfigAccessor.fromProgramOptions( checkNotNull(programOptions), checkNotNull(jobJars)); {code} while *ExecutionConfigAccessor.fromProgramOptions* indeed does the notNull check {code:java} public static <T> ExecutionConfigAccessor fromProgramOptions( final ProgramOptions options, final List<T> jobJars) { checkNotNull(options); checkNotNull(jobJars); ... } {code} -- This message was sent by Atlassian Jira (v8.20.10#820010)