Mercurial Hosting > luan
changeset 437:6cfbf45a1885 0.6
minor
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Sun, 03 May 2015 23:39:04 -0600 |
parents | 52a6295e92c9 |
children | 153326a0ef85 |
files | core/src/luan/modules/JavaLuan.java |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/core/src/luan/modules/JavaLuan.java Sun May 03 22:29:18 2015 -0600 +++ b/core/src/luan/modules/JavaLuan.java Sun May 03 23:39:04 2015 -0600 @@ -61,7 +61,7 @@ if( "class".equals(name) ) { return cls; } else if( "new".equals(name) ) { - Constructor<?>[] constructors = cls.getConstructors(); + Constructor[] constructors = cls.getConstructors(); if( constructors.length > 0 ) { if( constructors.length==1 ) { return new LuanJavaFunction(constructors[0],null); @@ -296,7 +296,7 @@ return cls.toString(); } - @Override public Class<?> getDeclaringClass() { + @Override public Class getDeclaringClass() { return cls.getDeclaringClass(); }