osdir.com

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: JCommander(java.lang.Object,java.lang.String...) has been deprecated


I can take a look.

How did you find the warning other than reading the build output?

Not sure if there is a flag we can set during compiling that would fail the
build for issues like these.

Kevin Risden

On Sat, Sep 22, 2018, 19:54 Julian Hyde <jhyde@xxxxxxxxxx> wrote:

> There is a new deprecation warning in Avatica. We try to keep these to
> zero.
>
> Kevin, It was probably your CALCITE-2486 change. Can you fix please?
>
> > [INFO] Compiling 2 source files to
> /home/jhyde/regress/calcite-avatica/standalone-server/target/classes
> > [WARNING]
> /home/jhyde/regress/calcite-avatica/standalone-server/src/main/java/org/apache/calcite/avatica/standalone/StandaloneServer.java:[99,21]
> JCommander(java.lang.Object,java.lang.String...) in
> com.beust.jcommander.JCommander has been deprecated
> > [INFO]
>