CloneSet243


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
31420.974class_body_declarations[3]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
131858
E:/TSE/Projects-CloneDR/sql12/plugins/smarttools/src/net/sourceforge/squirrel_sql/plugins/smarttools/gui/SmarttoolChangeValuesFrame.java
2311052
E:/TSE/Projects-CloneDR/sql12/plugins/smarttools/src/net/sourceforge/squirrel_sql/plugins/smarttools/gui/SmarttoolChangeValuesFrame.java
326335
E:/TSE/Projects-CloneDR/sql12/plugins/smarttools/src/net/sourceforge/squirrel_sql/plugins/smarttools/gui/SmarttoolFindBadNullValuesFrame.java
433574
E:/TSE/Projects-CloneDR/sql12/plugins/smarttools/src/net/sourceforge/squirrel_sql/plugins/smarttools/gui/SmarttoolMissingIndicesFrame.java
Next
Last
Clone Instance
1
Line Count
31
Source Line
858
Source File
E:/TSE/Projects-CloneDR/sql12/plugins/smarttools/src/net/sourceforge/squirrel_sql/plugins/smarttools/gui/SmarttoolChangeValuesFrame.java

private Thread thisThread = null;

@Override public void run() {
  super.run();
  thisThread = Thread.currentThread();
  startSearching();
  controlComponents(STOP_WORKING);
  threadSearching = null;
}

private boolean isThreadInvalid() {
  if (thisThread != threadSearching) {
    return true;
  }
  try {
    synchronized (this ) {
      while (threadSuspended) {
        wait(200);
      }
    }
  }
  catch (InterruptedException
         e) {
  }
  return false;
}


Next
Previous
Clone Instance
2
Line Count
31
Source Line
1052
Source File
E:/TSE/Projects-CloneDR/sql12/plugins/smarttools/src/net/sourceforge/squirrel_sql/plugins/smarttools/gui/SmarttoolChangeValuesFrame.java

private Thread thisThread = null;

@Override public void run() {
  super.run();
  thisThread = Thread.currentThread();
  startChanging();
  controlComponents(STOP_WORKING);
  threadChanging = null;
}

private boolean isThreadInvalid() {
  if (thisThread != threadChanging) {
    return true;
  }
  try {
    synchronized (this ) {
      while (threadSuspended) {
        wait(200);
      }
    }
  }
  catch (InterruptedException
         e) {
  }
  return false;
}


Next
Previous
Clone Instance
3
Line Count
26
Source Line
335
Source File
E:/TSE/Projects-CloneDR/sql12/plugins/smarttools/src/net/sourceforge/squirrel_sql/plugins/smarttools/gui/SmarttoolFindBadNullValuesFrame.java

private Thread thisThread = null;

@Override public void run() {
  super.run();
  thisThread = Thread.currentThread();
  startTest();
  controlComponents(STOP_WORKING);
  threadWork = null;
}

private boolean isThreadInvalid() {
  if (thisThread != threadWork) {
    return true;
  }
  try {
    synchronized (this ) {
      while (threadSuspended) {
        wait(200);
      }
    }
  }
  catch (InterruptedException
         e) {
  }
  return false;
}


First
Previous
Clone Instance
4
Line Count
33
Source Line
574
Source File
E:/TSE/Projects-CloneDR/sql12/plugins/smarttools/src/net/sourceforge/squirrel_sql/plugins/smarttools/gui/SmarttoolMissingIndicesFrame.java

private Thread thisThread = null;

@Override public void run() {
  super.run();
  thisThread = Thread.currentThread();
  startTest();
  controlComponents(STOP_WORKING);
  threadWork = null;
}

private boolean isThreadInvalid() {
  if (thisThread != threadWork) {
    return true;
  }
  try {
    synchronized (this ) {
      while (threadSuspended) {
        wait(200);
      }
    }
  }
  catch (InterruptedException
         e) {
  }
  return false;
}


Clone AbstractionParameter Count: 2Parameter Bindings

private Thread thisThread = null;

@Override public void run() {
  super.run();
  thisThread = Thread.currentThread();
   [[#variable18d8c6a0]]();
  controlComponents(STOP_WORKING);
   [[#variable18d8c660]]= null;
}

private boolean isThreadInvalid() {
  if (thisThread != [[#variable18d8c660]]) {
    return true;
  }
  try {
    synchronized (this ) {
      while (threadSuspended) {
        wait(200);
      }
    }
  }
  catch (InterruptedException
         e) {
  }
  return false;
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#18d8c6a0]]
startSearching 
12[[#18d8c6a0]]
startChanging 
13[[#18d8c6a0]]
startTest 
14[[#18d8c6a0]]
startTest 
21[[#18d8c660]]
threadSearching 
22[[#18d8c660]]
threadChanging 
23[[#18d8c660]]
threadWork 
24[[#18d8c660]]
threadWork