You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flink.apache.org by Yang Jeff <hi...@outlook.com> on 2019/09/04 09:12:26 UTC
[DISCUSS] Use static imports for test utilities or asserts.
Hi all,
Is it necessary for us to replace all assert or utilities with static import ? Thank you very much.
Re: [DISCUSS] Use static imports for test utilities or asserts.
Posted by Till Rohrmann <tr...@apache.org>.
Hi Yang,
are you referring to Flink's checkstyle settings which forbids star
imports? If you set up the checkstyle plugin [1] and activate optimize
imports in IntelliJ, then the IDE will take care that everything is correct.
[1]
https://ci.apache.org/projects/flink/flink-docs-stable/flinkDev/ide_setup.html#checkstyle-for-java
Cheers,
Till
On Wed, Sep 4, 2019 at 11:12 AM Yang Jeff <hi...@outlook.com> wrote:
> Hi all,
> Is it necessary for us to replace all assert or utilities with static
> import ? Thank you very much.
>