[
https://issues.apache.org/jira/browse/FLINK-13332?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
TisonKun closed FLINK-13332.
----------------------------
Resolution: Not A Problem
The same as FLINK-13333.
> PackagedProgram#isUsingInteractiveMode implemented error prone
> --------------------------------------------------------------
>
> Key: FLINK-13332
> URL: https://issues.apache.org/jira/browse/FLINK-13332
> Project: Flink
> Issue Type: Bug
> Components: Command Line Client
> Affects Versions: 1.10.0
> Reporter: TisonKun
> Priority: Minor
>
> Currently, {{PackagedProgram#isUsingInteractiveMode}} implemented as
> {code:java}
> public boolean isUsingInteractiveMode() {
> return this.program == null;
> }
> {code}
> is hacky and a better implementation would be
> {code:java}
> public boolean isUsingInteractiveMode() {
> return hasMainMethod(mainClass);
> }
> {code}
--
This message was sent by Atlassian Jira
(v8.3.2#803003)