scrooge
scrooge copied to clipboard
javac warnings in generated code
To help maintain code health, we build with -Xlint:all -Werror
by default. The generated thrift types and services contain warnings such as,
warning: [unchecked] unchecked generic array creation of type T[] for varargs parameter
It would nice to have the code contain SuppressWarnings
where appropriate so that the code is lint free.
P.S. This is on JDK6.
There is a patch to address some of these: https://github.com/twitter/scrooge/pull/142.
Feel free to submit another one that fixes that particular warning.