Re: How to corretly use checkstyle in IntelliJ IDEA

2019-09-25 Thread Terry Wang
Hi Felipe, If you must use guava directly, you can modify the config of /tools/maven/suppressions.xml like the Cassandra connectors’s config. As for checkStyle plugin not worked well your dev-environment, you should solve the errors line by line according to the error msg . Hope it helps you~ B

Re: How to corretly use checkstyle in IntelliJ IDEA

2019-09-25 Thread Till Rohrmann
Hi Felipe, Flink's checkstyle prohibits the direct usage of Guava. Please import the shaded Guava version `import org.apache.flink.shaded.guava18.com.google.common.base.Strings;`. Cheers, Till On Wed, Sep 25, 2019 at 9:31 AM Felipe Gutierrez < felipe.o.gutier...@gmail.com> wrote: > Hi, > > is t

How to corretly use checkstyle in IntelliJ IDEA

2019-09-25 Thread Felipe Gutierrez
Hi, is there another way to use the checkstyle.xml with IntelliJ IDEA that is different from the official documentation [1]? I imported flink source code and I developed my own function on the code. After that, I run the check style feature on Intellij IDEA 2019 and it points a lot of errors rega