public static void setTopMessage(final String message) { if (SwingUtilities.isEventDispatchThread()) { topMessage.setText(message); } else { SwingUtilities.invokeLater(new Runnable() { public void run() { topMessage.setText(message);
public static void setBottomBarValue(final int value) { if (SwingUtilities.isEventDispatchThread()) { bottomBar.setValue(value); } else { SwingUtilities.invokeLater(new Runnable() { public void run() { bottomBar.setValue(value);
Clone fragments detected by clone detection tool
File path: /sql12/plugins/dbcopy/src/net/sourceforge/squirrel_sql/plugins/dbcopy/gui/DualProgressBarDialog.java File path: /sql12/plugins/dbcopy/src/net/sourceforge/squirrel_sql/plugins/dbcopy/gui/DualProgressBarDialog.java
Method name: Method name:
Number of AST nodes: 0 Number of AST nodes: 0
1
public static void setTopMessage(final String message) {
1
public static void setBottomBarValue(final int value) {
2
        if (SwingUtilities.isEventDispatchThread()) {
2
        if (SwingUtilities.isEventDispatchThread()) {
3
            topMessage.setText(message);            
3
            bottomBar.setValue(value);            
4
        } else {
4
        } else {
5
            SwingUtilities.invokeLater(new Runnable() {
5
            SwingUtilities.invokeLater(new Runnable() {
6
                public void run() {
6
                public void run() {
7
                    topMessage.setText(message);
7
                    bottomBar.setValue(value);
8
                
8
                
Summary
Number of common nesting structure subtrees0
Number of refactorable cases0
Number of non-refactorable cases0
Time elapsed for finding largest common nesting structure subtrees (ms)0.0
Clones location
Number of node comparisons0