CloneSet857


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
25201.000method_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
121553
E:/TSE/Projects-CloneDR/sql12/app/src/net/sourceforge/squirrel_sql/client/session/schemainfo/SchemaInfo.java
225415
E:/TSE/Projects-CloneDR/sql12/app/src/net/sourceforge/squirrel_sql/client/update/gui/installer/ArtifactInstallerImpl.java
Next
Last
Clone Instance
1
Line Count
21
Source Line
553
Source File
E:/TSE/Projects-CloneDR/sql12/app/src/net/sourceforge/squirrel_sql/client/session/schemainfo/SchemaInfo.java

/**
 * We found that the UI behaves much nicer at startup if
 * loading schema info interupted for little moments.
 */
private void breathing() {
  // In case this is called by the AWT thread, log a message - this is most likey a bug
  if (SwingUtilities.isEventDispatchThread()) {
    if (s_log.isDebugEnabled()) {
      s_log.debug("breathing: ignoring request to sleep the event dispatch thread");
    }
    return;
  }
  synchronized (this ) {
    try {
      wait(50);
    }
    catch (InterruptedException
           e) {
      if (s_log.isInfoEnabled()) {
        s_log.info("breathing: Interrupted", e);
      }
    }
  }
}


First
Previous
Clone Instance
2
Line Count
25
Source Line
415
Source File
E:/TSE/Projects-CloneDR/sql12/app/src/net/sourceforge/squirrel_sql/client/update/gui/installer/ArtifactInstallerImpl.java

// Helper methods
private void breathing() {
  // In case this is called by the AWT thread, log a message - this is most likey a bug
  if (SwingUtilities.isEventDispatchThread()) {
    if (s_log.isDebugEnabled()) {
      s_log.debug("breathing: ignoring request to sleep the event dispatch thread");
    }
    return;
  }
  synchronized (this ) {
    try {
      wait(50);
    }
    catch (InterruptedException
           e) {
      if (s_log.isInfoEnabled()) {
        s_log.info("breathing: Interrupted", e);
      }
    }
  }
}


Clone AbstractionParameter Count: 0Parameter Bindings

// Helper methods
/**
    * We found that the UI behaves much nicer at startup if
    * loading schema info interupted for little moments.
    */
private void breathing() {
  // In case this is called by the AWT thread, log a message - this is most likey a bug
  if (SwingUtilities.isEventDispatchThread()) {
    if (s_log.isDebugEnabled()) {
      s_log.debug("breathing: ignoring request to sleep the event dispatch thread");
    }
    return;
  }
  synchronized (this ) {
    try {
      wait(50);
    }
    catch (InterruptedException
           e) {
      if (s_log.isInfoEnabled()) {
        s_log.info("breathing: Interrupted", e);
      }
    }
  }
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
None