aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/javassist/util/proxy/FactoryHelper.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/javassist/util/proxy/FactoryHelper.java')
-rw-r--r--src/main/javassist/util/proxy/FactoryHelper.java8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/main/javassist/util/proxy/FactoryHelper.java b/src/main/javassist/util/proxy/FactoryHelper.java
index 9b2b791c..b17b78ed 100644
--- a/src/main/javassist/util/proxy/FactoryHelper.java
+++ b/src/main/javassist/util/proxy/FactoryHelper.java
@@ -152,13 +152,13 @@ public class FactoryHelper {
Object[] args;
if (domain == null) {
method = defineClass1;
- args = new Object[] { cf.getName(), b, new Integer(0),
- new Integer(b.length) };
+ args = new Object[] { cf.getName(), b, Integer.valueOf(0),
+ Integer.valueOf(b.length) };
}
else {
method = defineClass2;
- args = new Object[] { cf.getName(), b, new Integer(0),
- new Integer(b.length), domain };
+ args = new Object[] { cf.getName(), b, Integer.valueOf(0),
+ Integer.valueOf(b.length), domain };
}
return toClass2(method, loader, args);