private void initButton(boolean withdefaultBorder) {
if (!withdefaultBorder) {
Border borderButton = BorderFactory.createEmptyBorder(5, 5, 5, 5);
this.setBorder(borderButton);
}
this.setCursor(Cursor.getPredefinedCursor(Cursor.HAND_CURSOR));
private void initButton(boolean withdefaultBorder) {
if (!withdefaultBorder) {
Border borderButton = BorderFactory.createEmptyBorder(5, 5, 5, 5);
this.setBorder(borderButton);
}
this.setCursor(Cursor.getPredefinedCursor(Cursor.HAND_CURSOR));
Clone fragments detected by clone detection tool
File path: /sql12/plugins/firebirdmanager/src/net/sourceforge/squirrel_sql/plugins/firebirdmanager/gui/comp/FBButton.java
|
|
File path: /sql12/plugins/smarttools/src/net/sourceforge/squirrel_sql/plugins/smarttools/comp/STButton.java
|
Method name:
|
|
Method name:
|
Number of AST nodes: 0
|
|
Number of AST nodes: 0
|
|
1 | private void initButton(boolean withdefaultBorder) {↵ | | 1 | private void initButton(boolean withdefaultBorder) {↵
|
2 | if (!withdefaultBorder) {↵ | | 2 | if (!withdefaultBorder) {↵
|
3 | Border borderButton = BorderFactory.createEmptyBorder(5, 5, 5, 5);↵ | | 3 | Border borderButton = BorderFactory.createEmptyBorder(5, 5, 5, 5);↵
|
4 | this.setBorder(borderButton);↵ | | 4 | this.setBorder(borderButton);↵
|
5 | }↵ | | 5 | }↵
|
6 | this.setCursor(Cursor.getPredefinedCursor(Cursor.HAND_CURSOR));↵ | | 6 | this.setCursor(Cursor.getPredefinedCursor(Cursor.HAND_CURSOR));↵
|
7 | | | 7 |
|
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 |