Removes not needed Boxing

This commit is contained in:
thatsIch 2014-09-29 09:17:33 +02:00
parent 72106c877d
commit f95d221859

View file

@ -81,7 +81,7 @@ public class ApiPart implements IPartHelper
Object[] argsA = new Object[] { Name, Name, b }; Object[] argsA = new Object[] { Name, Name, b };
b = (byte[]) runTransformersMethod.invoke( loader, argsA ); b = (byte[]) runTransformersMethod.invoke( loader, argsA );
Object[] args = new Object[] { Name, b, new Integer( 0 ), new Integer( b.length ) }; Object[] args = new Object[] { Name, b, 0, b.length };
clazz = (Class) defineClassMethod.invoke( loader, args ); clazz = (Class) defineClassMethod.invoke( loader, args );
} }
finally finally