r2222 - trunk/jaxx-compiler/src/main/java/jaxx/compiler/reflect
Author: tchemit Date: 2011-02-18 11:09:07 +0100 (Fri, 18 Feb 2011) New Revision: 2222 Url: http://nuiton.org/repositories/revision/jaxx/2222 Log: reformat Modified: trunk/jaxx-compiler/src/main/java/jaxx/compiler/reflect/MethodDescriptor.java Modified: trunk/jaxx-compiler/src/main/java/jaxx/compiler/reflect/MethodDescriptor.java =================================================================== --- trunk/jaxx-compiler/src/main/java/jaxx/compiler/reflect/MethodDescriptor.java 2011-02-16 21:27:27 UTC (rev 2221) +++ trunk/jaxx-compiler/src/main/java/jaxx/compiler/reflect/MethodDescriptor.java 2011-02-18 10:09:07 UTC (rev 2222) @@ -27,6 +27,8 @@ import jaxx.compiler.JAXXCompiler; +import java.util.Arrays; + /** * Mirrors the class <code>java.lang.ref.Method</code>. JAXX uses <code>ClassDescriptor</code> instead of <code>Class</code> * almost everywhere so that it can handle circular dependencies (there can't be a <code>Class</code> object for an uncompiled @@ -42,7 +44,7 @@ super(name, modifiers, classLoader); this.returnType = returnType; this.parameterTypes = parameterTypes; - if (JAXXCompiler.STRICT_CHECKS && java.util.Arrays.asList(parameterTypes).contains(null)) { + if (JAXXCompiler.STRICT_CHECKS && Arrays.asList(parameterTypes).contains(null)) { throw new NullPointerException(name); } } @@ -69,7 +71,7 @@ } return result; } catch (ClassNotFoundException e) { - throw new RuntimeException("could not find the parameter types " + java.util.Arrays.toString(parameterTypes), e); + throw new RuntimeException("could not find the parameter types " + Arrays.toString(parameterTypes), e); } } }
participants (1)
-
tchemit@users.nuiton.org