Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
15 | 2 | 1 | 0.989 | method_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 15 | 130 | E:/TSE/Projects-CloneDR/sql12/plugins/codecompletion/src/net/sourceforge/squirrel_sql/plugins/codecompletion/CompleteCodeAction.java |
2 | 15 | 101 | E:/TSE/Projects-CloneDR/sql12/plugins/hibernate/src/net/sourceforge/squirrel_sql/plugins/hibernate/completion/HQLCompleteCodeAction.java |
| |||||
private int getNextWhiteSpacePos(int startPos) { String text = _sqlEntryPanel.getText(); int retPos = startPos; for (; retPos < text.length(); ++retPos) { if (Character.isWhitespace(text.charAt(retPos))) { return retPos; } } return retPos; } |
| |||||
private int getNextWhiteSpacePos(int startPos) { String text = _hqlEntryPanel.getText(); int retPos = startPos; for (; retPos < text.length(); ++retPos) { if (Character.isWhitespace(text.charAt(retPos))) { return retPos; } } return retPos; } |
| |||
private int getNextWhiteSpacePos(int startPos) { String text = [[#variable1cd0f840]].getText(); int retPos = startPos; for (; retPos < text.length(); ++retPos) { if (Character.isWhitespace(text.charAt(retPos))) { return retPos; } } return retPos; } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#1cd0f840]] | _sqlEntryPanel |
1 | 2 | [[#1cd0f840]] | _hqlEntryPanel |