From f95d221859d393472ec6a2c4fd42684434865a0f Mon Sep 17 00:00:00 2001 From: thatsIch Date: Mon, 29 Sep 2014 09:17:33 +0200 Subject: [PATCH] Removes not needed Boxing --- src/main/java/appeng/core/api/ApiPart.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/appeng/core/api/ApiPart.java b/src/main/java/appeng/core/api/ApiPart.java index 54f26cb1..21939d2e 100644 --- a/src/main/java/appeng/core/api/ApiPart.java +++ b/src/main/java/appeng/core/api/ApiPart.java @@ -81,7 +81,7 @@ public class ApiPart implements IPartHelper Object[] argsA = new Object[] { Name, Name, b }; 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 ); } finally