Removed some commented out code I forgot to remove.
This commit is contained in:
parent
90af571f76
commit
8bc2348046
@ -234,13 +234,6 @@ public class TestCloner {
|
|||||||
|
|
||||||
public void cloneFields( Cloner cloner, Object original ) {
|
public void cloneFields( Cloner cloner, Object original ) {
|
||||||
this.links = cloner.clone(links);
|
this.links = cloner.clone(links);
|
||||||
/*
|
|
||||||
// manually clone the list for a sec
|
|
||||||
List<GraphNode> cloneList = (List<GraphNode>)((ArrayList<GraphNode>)links).clone(); //new ArrayList<GraphNode>();
|
|
||||||
for( int i = 0; i < links.size(); i++ ) {
|
|
||||||
cloneList.set(i, cloner.clone(links.get(i)));
|
|
||||||
}
|
|
||||||
links = cloneList;*/
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public String toString() {
|
public String toString() {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user