comparison src/luan/LuanState.java @ 784:6a7c6879158d

revert shallowClone()
author Franklin Schmidt <fschmidt@gmail.com>
date Tue, 30 Aug 2016 12:08:49 -0600
parents 655280eab1e2
children d69d3c51c44e
comparison
equal deleted inserted replaced
783:4083f5a67c63 784:6a7c6879158d
23 registry = new HashMap(); 23 registry = new HashMap();
24 } 24 }
25 25
26 private LuanState(LuanState luan) {} 26 private LuanState(LuanState luan) {}
27 27
28 @Override public LuanState shallowClone(LuanCloner cloner) { 28 @Override public LuanState shallowClone() {
29 return new LuanState(this); 29 return new LuanState(this);
30 } 30 }
31 31
32 @Override public void deepenClone(LuanCloneable dc,LuanCloner cloner) { 32 @Override public void deepenClone(LuanCloneable dc,LuanCloner cloner) {
33 LuanState clone = (LuanState)dc; 33 LuanState clone = (LuanState)dc;