changeset 213:4a27f24ce2b5

Make LuanJavaFunction not DeepCloneable. There is no reason for most to be DeepCloneable and those that should be can be made DeepCloneable individually. git-svn-id: https://luan-java.googlecode.com/svn/trunk@214 21e917c8-12df-6dd8-5cb6-c86387c605b9
author fschmidt@gmail.com <fschmidt@gmail.com@21e917c8-12df-6dd8-5cb6-c86387c605b9>
date Fri, 11 Jul 2014 04:19:25 +0000
parents 5b9726553ac8
children 8e4ef9134362
files core/src/luan/LuanJavaFunction.java
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/core/src/luan/LuanJavaFunction.java	Tue Jul 08 20:03:43 2014 +0000
+++ b/core/src/luan/LuanJavaFunction.java	Fri Jul 11 04:19:25 2014 +0000
@@ -12,7 +12,7 @@
 import java.util.Arrays;
 
 
-public final class LuanJavaFunction extends LuanFunction implements DeepCloneable<LuanJavaFunction> {
+public final class LuanJavaFunction extends LuanFunction {
 	private final JavaMethod method;
 	private Object obj;
 	private final RtnConverter rtnConverter;
@@ -45,7 +45,7 @@
 			this.varArgCls = null;
 		}
 	}
-
+/*
 	private LuanJavaFunction(LuanJavaFunction f) {
 		this.method = f.method;
 		this.rtnConverter = f.rtnConverter;
@@ -61,7 +61,7 @@
 	@Override public void deepenClone(LuanJavaFunction clone,DeepCloner cloner) {
 		clone.obj = cloner.get(obj);
 	}
-
+*/
 	@Override public String toString() {
 		return "java-function: " + method;
 	}