CloneSet1317


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
3210.968statement_sequence[3]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
13383
E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/org/apache/tools/ant/Project.java
23398
E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/org/apache/tools/ant/Project.java
Next
Last
Clone Instance
1
Line Count
3
Source Line
383
Source File
E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/org/apache/tools/ant/Project.java

// create a new Vector to avoid ConcurrentModificationExc when
// the listeners get added/removed while we are in fire
Vector newListeners = getBuildListeners();
newListeners.addElement(listener);
listeners = newListeners;


First
Previous
Clone Instance
2
Line Count
3
Source Line
398
Source File
E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/org/apache/tools/ant/Project.java

// create a new Vector to avoid ConcurrentModificationExc when
// the listeners get added/removed while we are in fire
Vector newListeners = getBuildListeners();
newListeners.removeElement(listener);
listeners = newListeners;


Clone AbstractionParameter Count: 1Parameter Bindings

// create a new Vector to avoid ConcurrentModificationExc when
// the listeners get added/removed while we are in fire
Vector newListeners = getBuildListeners();
newListeners. [[#variable112afc80]](listener);
listeners = newListeners;
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#112afc80]]
addElement 
12[[#112afc80]]
removeElement