Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
7 | 2 | 1 | 0.976 | method_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 4 | 107 | E:/TSE/Projects-CloneDR/sql12/plugins/mysql/src/net/sourceforge/squirrel_sql/plugins/mysql/tokenizer/MysqlQueryTokenizer.java |
2 | 7 | 169 | E:/TSE/Projects-CloneDR/sql12/plugins/oracle/src/net/sourceforge/squirrel_sql/plugins/oracle/tokenizer/OracleQueryTokenizer.java |
| |||||
/** * Sets the ITokenizerFactory which is used to create additional instances * of the IQueryTokenizer - this is used for handling file includes * recursively. */ protected void setFactory() { _tokenizerFactory = new ITokenizerFactory() { public IQueryTokenizer getTokenizer() { return new MysqlQueryTokenizer(_prefs); } }; } |
| |||||
/** * Sets the ITokenizerFactory which is used to create additional instances of the IQueryTokenizer - this is * used for handling file includes recursively. */ protected void setFactory() { _tokenizerFactory = new ITokenizerFactory() { public IQueryTokenizer getTokenizer() { return new OracleQueryTokenizer(_prefs); } }; } |
| |||
/** * Sets the ITokenizerFactory which is used to create additional instances of the IQueryTokenizer - this is * used for handling file includes recursively. */ /** * Sets the ITokenizerFactory which is used to create additional instances * of the IQueryTokenizer - this is used for handling file includes * recursively. */ protected void setFactory() { _tokenizerFactory = new ITokenizerFactory() { public IQueryTokenizer getTokenizer() { return new [[#variable1c9cd700]](_prefs); } }; } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#1c9cd700]] | MysqlQueryTokenizer |
1 | 2 | [[#1c9cd700]] | OracleQueryTokenizer |