private class ColumnListSelectionActionListener implements ActionListener
{
public void actionPerformed(ActionEvent e)
{
if (_listDialog == null)
return;
_listDialog.setVisible(false);
_foreignKeyInfo = _listDialog.getSelectedItems().toArray(new ForeignKeyInfo[] {});
showCustomDialog()
private class ColumnListSelectionActionListener implements ActionListener {
public void actionPerformed(ActionEvent e) {
if (listDialog == null) return;
listDialog.setVisible(false);
_dropIndexInfo = listDialog.getSelectedItems().toArray(new IndexInfo[]{});
showCustomDialog()
Clone fragments detected by clone detection tool
File path: /sql12/plugins/refactoring/src/net/sourceforge/squirrel_sql/plugins/refactoring/commands/DropForeignKeyCommand.java
|
|
File path: /sql12/plugins/refactoring/src/net/sourceforge/squirrel_sql/plugins/refactoring/commands/DropUniqueConstraintCommand.java
|
Method name:
|
|
Method name:
|
Number of AST nodes: 0
|
|
Number of AST nodes: 0
|
|
1 | private class ColumnListSelectionActionListener implements ActionListener↵ | | 1 | private class ColumnListSelectionActionListener implements ActionListener↵
|
2 | {↵ | | |
|
3 | ↵ | | 2 | {↵
|
4 | public void actionPerformed(ActionEvent e)↵ | | 3 | public void actionPerformed(ActionEvent e)↵
|
5 | {↵ | | |
|
6 | ↵ | | 4 | {↵
|
7 | if (_listDialog == null)↵ | | 5 | if (listDialog == null)↵
|
8 | return;↵ | | 6 | return;↵
|
|
9 | _listDialog.setVisible(false);↵ | | 7 | listDialog.setVisible(false);↵
|
10 | _foreignKey↵ | | |
|
11 | Info = _listDialog.getSelectedItems().toArray(new ForeignKeyInfo[] {});↵ | | 8 | _dropIndexInfo = listDialog.getSelectedItems().toArray(new IndexInfo[]{});↵
|
|
12 | showCustomDialog() | | 9 | showCustomDialog()
|
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 |