Replace with array initializer

this can be done through http://docs.oracle.com/javase/specs/jls/se6/html/arrays.html#10.6
This commit is contained in:
thatsIch
2015-09-25 23:04:36 +02:00
parent 7a220e253d
commit 4b3d7c7d03
26 changed files with 47 additions and 47 deletions
@@ -108,7 +108,7 @@ public class BlockDefinition extends ItemDefinition implements IBlockDefinition
{
try
{
Object[] itemCtorArgs = new Object[] {};
Object[] itemCtorArgs = {};
Class<?>[] ctorArgClasses = new Class<?>[itemCtorArgs.length + 1];
ctorArgClasses[0] = Block.class;
for( int idx = 1; idx < ctorArgClasses.length; idx++ )