Suppress warnings in generated code

This commit is contained in:
Travis Burtrum 2015-05-28 12:54:44 -04:00
parent 95dcf6722c
commit cae029e496

View File

@ -98,6 +98,7 @@
/** /**
* Implements ${intf.className}.${operation.name} * Implements ${intf.className}.${operation.name}
*/ */
@SuppressWarnings({"unchecked"}) // for __bc_retval cast
public $operation.formalTypes $returnType ${operation.name}($operation.argDecl) $operation.throwsClause public $operation.formalTypes $returnType ${operation.name}($operation.argDecl) $operation.throwsClause
{ {
Object [] __bc_argArray = new Object[] { $operation.argList }; Object [] __bc_argArray = new Object[] { $operation.argList };