mirror of https://github.com/grpc/grpc-java.git
Enable warnings for rawtypes
This would have prevented the missing generics in 31394aa
This commit is contained in:
parent
399be9ac73
commit
ec965ca1cc
|
|
@ -30,7 +30,8 @@ subprojects {
|
||||||
|
|
||||||
|
|
||||||
[compileJava, compileTestJava].each() {
|
[compileJava, compileTestJava].each() {
|
||||||
it.options.compilerArgs += ["-Xlint:unchecked", "-Xlint:deprecation", "-Xlint:-options"]
|
it.options.compilerArgs += ["-Xlint:unchecked", "-Xlint:deprecation", "-Xlint:-options",
|
||||||
|
"-Xlint:rawtypes"]
|
||||||
it.options.encoding = "UTF-8"
|
it.options.encoding = "UTF-8"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue