CloneSet315


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
13220.963executable_statement
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
11371
E:/TSE/Projects-CloneDR/jEdit-4.2/src/org/gjt/sp/util/ReadWriteLock.java
213120
E:/TSE/Projects-CloneDR/jEdit-4.2/src/org/gjt/sp/util/ReadWriteLock.java
Next
Last
Clone Instance
1
Line Count
13
Source Line
71
Source File
E:/TSE/Projects-CloneDR/jEdit-4.2/src/org/gjt/sp/util/ReadWriteLock.java

while ( !allowRead()) {
  try {
    wait();
  }
  catch (InterruptedException
         e) {
    --waitingReaders; // Roll back state.
    Log.log(Log.ERROR, this, e);
    return;
  }
}


First
Previous
Clone Instance
2
Line Count
13
Source Line
120
Source File
E:/TSE/Projects-CloneDR/jEdit-4.2/src/org/gjt/sp/util/ReadWriteLock.java

while ( !allowWrite()) {
  try {
    wait();
  }
  catch (InterruptedException
         e) {
    --waitingWriters;
    Log.log(Log.ERROR, this, e);
    return;
  }
}


Clone AbstractionParameter Count: 2Parameter Bindings

while ( ! [[#variablee21e7a0]]()) {
  try {
    wait();
  }
  catch (InterruptedException
         e) {
    -- [[#variablee21eda0]]; // Roll back state.
    Log.log(Log.ERROR, this, e);
    return;
  }
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#e21e7a0]]
allowRead 
12[[#e21e7a0]]
allowWrite 
21[[#e21eda0]]
waitingReaders 
22[[#e21eda0]]
waitingWriters