public static void setBottomMessage(final String message) {
if (SwingUtilities.isEventDispatchThread()) {
bottomMessage.setText(message);
} else {
SwingUtilities.invokeLater(new Runnable() {
public void run() {
bottomMessage.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 setBottomMessage(final String message) {↵ | | 1 | public static void setBottomBarValue(final int value) {↵
|
2 | if (SwingUtilities.isEventDispatchThread()) {↵ | | 2 | if (SwingUtilities.isEventDispatchThread()) {↵
|
3 | bottomMessage.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 | bottomMessage.setText(message);↵ | | 7 | bottomBar.setValue(value);↵
|
8 | | | 8 |
|
See real code fragment |
|
See real code fragment |
Summary
Number of common nesting structure subtrees | 0 |
Number of refactorable cases | 0 |
Number of non-refactorable cases | 0 |
Time elapsed for finding largest common nesting structure subtrees (ms) | 0.0 |
Clones location | |
Number of node comparisons | 0 |