Merge pull request #1912 from thatsIch/e-replace-with-array-initializer

Replace with array initializer
This commit is contained in:
yueh
2015-09-26 11:56:44 +02:00
26 changed files with 47 additions and 47 deletions
+2 -2
View File
@@ -284,10 +284,10 @@ public class ApiPart implements IPartHelper
defineClassMethod.setAccessible( true );
try
{
Object[] argsA = new Object[] { name, name, b };
Object[] argsA = { name, name, b };
b = (byte[]) runTransformersMethod.invoke( loader, argsA );
Object[] args = new Object[] { name, b, 0, b.length };
Object[] args = { name, b, 0, b.length };
clazz = (Class) defineClassMethod.invoke( loader, args );
}
finally