Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
12 | 2 | 2 | 0.979 | block |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 12 | 455 | E:/TSE/Projects-CloneDR/sql12/app/src/net/sourceforge/squirrel_sql/client/session/mainpanel/SQLResultExecuterPanel.java |
2 | 12 | 866 | E:/TSE/Projects-CloneDR/sql12/app/src/net/sourceforge/squirrel_sql/client/session/mainpanel/SQLResultExecuterPanel.java |
| |||||
{ Component selectedTab = _tabbedExecutionsPanel.getSelectedComponent(); List<ResultTabInfo> tabs = new ArrayList<ResultTabInfo>(_usedTabs); for (Iterator<ResultTabInfo> it = tabs.iterator(); it.hasNext();) { ResultTabInfo ti = it.next(); if (ti._tab.equals(selectedTab)) { if (ti._resultFrame == null) { closeTab(ti._tab); } } } } |
| |||||
{ Component selectedTab = _tabbedExecutionsPanel.getComponentAt(index); List<ResultTabInfo> tabs = new ArrayList<ResultTabInfo>(_usedTabs); for (Iterator<ResultTabInfo> it = tabs.iterator(); it.hasNext();) { ResultTabInfo ti = it.next(); if (ti._tab.equals(selectedTab)) { if (ti._resultFrame == null) { closeTab(ti._tab); } } } } |
| |||
{ Component selectedTab = _tabbedExecutionsPanel. [[#variable1ce50e00]] [[#variable1ce50c40]]; List<ResultTabInfo> tabs = new ArrayList<ResultTabInfo>(_usedTabs); for (Iterator<ResultTabInfo> it = tabs.iterator(); it.hasNext();) { ResultTabInfo ti = it.next(); if (ti._tab.equals(selectedTab)) { if (ti._resultFrame == null) { closeTab(ti._tab); } } } } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#1ce50e00]] | getSelectedComponent |
1 | 2 | [[#1ce50e00]] | getComponentAt |
2 | 1 | [[#1ce50c40]] | () |
2 | 2 | [[#1ce50c40]] | (index) |