Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
6 | 2 | 1 | 0.987 | method_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 6 | 103 | E:/TSE/Projects-CloneDR/sql12/plugins/syntax/src/net/sourceforge/squirrel_sql/plugins/syntax/netbeans/NetbeansSQLEntryPanel.java |
2 | 6 | 343 | E:/TSE/Projects-CloneDR/sql12/plugins/syntax/src/net/sourceforge/squirrel_sql/plugins/syntax/oster/OsterSQLEntryPanel.java |
| |||||
public int getCaretLineNumber() { final int pos = getCaretPosition(); final Document doc = _textArea.getDocument(); final Element docElem = doc.getDefaultRootElement(); return docElem.getElementIndex(pos); } |
| |||||
/** * @see ISQLEntryPanel#getCaretLineNumber() */ public int getCaretLineNumber() { final int pos = getCaretPosition(); final Document doc = _textArea.getStyledDocument(); final Element docElem = doc.getDefaultRootElement(); return docElem.getElementIndex(pos); } |
| |||
/** * @see ISQLEntryPanel#getCaretLineNumber() */ public int getCaretLineNumber() { final int pos = getCaretPosition(); final Document doc = _textArea. [[#variable1cd7b500]](); final Element docElem = doc.getDefaultRootElement(); return docElem.getElementIndex(pos); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#1cd7b500]] | getDocument |
1 | 2 | [[#1cd7b500]] | getStyledDocument |