changeset 1086:b1f6dafa72fc

minor
author Franklin Schmidt <fschmidt@gmail.com>
date Mon, 19 Dec 2016 01:18:46 -0700
parents a04da9a3e9eb
children 4aab4dd3ac9c
files src/luan/LuanJavaFunction.java
diffstat 1 files changed, 2 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
diff -r a04da9a3e9eb -r b1f6dafa72fc src/luan/LuanJavaFunction.java
--- a/src/luan/LuanJavaFunction.java	Mon Dec 19 01:05:10 2016 -0700
+++ b/src/luan/LuanJavaFunction.java	Mon Dec 19 01:18:46 2016 -0700
@@ -212,12 +212,11 @@
 		if( rtnType == Void.TYPE )
 			return RTN_NOTHING;
 		if( !m.isLuan() && rtnType.isArray() && !rtnType.getComponentType().isPrimitive() ) {
-//System.out.println("qqqqqq "+m);
 			return RTN_ARRAY;
 		}
 		return RTN_SAME;
 	}
-
+/*
 	private static boolean isNumber(Class rtnType) {
 		return rtnType == Short.TYPE
 			|| rtnType == Integer.TYPE
@@ -226,7 +225,7 @@
 			|| rtnType == Double.TYPE
 		;
 	}
-
+*/
 	private interface ArgConverter {
 		public Object convert(LuanState luan,Object obj) throws LuanException;
 	}