Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
10 | 2 | 2 | 0.963 | method_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 10 | 608 | E:/TSE/Projects-CloneDR/sql12/app/src/net/sourceforge/squirrel_sql/client/Application.java |
2 | 10 | 621 | E:/TSE/Projects-CloneDR/sql12/app/src/net/sourceforge/squirrel_sql/client/Application.java |
| |||||
public synchronized void addToMenu(int menuId, JMenu menu) { final MainFrame mf = getMainFrame(); if (mf != null) { mf.addToMenu(menuId, menu); } else { throw new IllegalStateException(s_stringMgr.getString("Application.error.menuadding")); } } |
| |||||
public synchronized void addToMenu(int menuId, Action action) { final MainFrame mf = getMainFrame(); if (mf != null) { mf.addToMenu(menuId, action); } else { throw new IllegalStateException(s_stringMgr.getString("Application.error.menuadding")); } } |
| |||
public synchronized void addToMenu(int menuId, [[#variable1cd3c800]] [[#variable1cd3c760]]) { final MainFrame mf = getMainFrame(); if (mf != null) { mf.addToMenu(menuId, [[#variable1cd3c760]]); } else { throw new IllegalStateException(s_stringMgr.getString("Application.error.menuadding")); } } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#1cd3c800]] | JMenu |
1 | 2 | [[#1cd3c800]] | Action |
2 | 1 | [[#1cd3c760]] | menu |
2 | 2 | [[#1cd3c760]] | action |