Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

javac compiler warning in AbstractStoredObject #389

Closed
lukaseder opened this issue Jul 22, 2012 · 0 comments
Closed

javac compiler warning in AbstractStoredObject #389

lukaseder opened this issue Jul 22, 2012 · 0 comments

Comments

@lukaseder
Copy link
Member

Warning in javac:

> Compiling 208 source files to /home/sander/NetBeansProjects/jOOQ/build/
> classes
> /home/sander/NetBeansProjects/jOOQ/src/org/jooq/impl/
> AbstractStoredObject.java:113: warning: non-varargs call of varargs
> method with inexact argument type for last parameter;
> cast to java.lang.Object for a varargs call
> cast to java.lang.Object[] for a non-varargs call and to suppress this
> warning
>            setField(parameter, this.<T> constant(null));
> /home/sander/NetBeansProjects/jOOQ/src/org/jooq/impl/
> AbstractStoredObject.java:113:
> <T>setField(org.jooq.Parameter<T>,org.jooq.Field<T>) in
> org.jooq.impl.AbstractStoredObject cannot be applied to
> (org.jooq.Parameter<T>,java.util.List<org.jooq.Field<?>>)
>            setField(parameter, this.<T> constant(null));
> Note: Some input files use or override a deprecated API.
> Note: Recompile with -Xlint:deprecation for details.
> Note: Some input files use unchecked or unsafe operations.
> Note: Recompile with -Xlint:unchecked for details.
> 1 error
> 1 warning
> /home/sander/NetBeansProjects/jOOQ/nbproject/build-impl.xml:524: The
> following error occurred while executing this line:
> /home/sander/NetBeansProjects/jOOQ/nbproject/build-impl.xml:258:
> Compile failed; see the compiler error output for details.
> BUILD FAILED (total time: 5 seconds)
@ghost ghost assigned lukaseder Jul 22, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant