CloneSet501


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
20201.000statement_sequence[5]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
120197
E:/TSE/Projects-CloneDR/sql12/plugins/refactoring/src/net/sourceforge/squirrel_sql/plugins/refactoring/commands/AddLookupTableCommand.java
220291
E:/TSE/Projects-CloneDR/sql12/plugins/refactoring/src/net/sourceforge/squirrel_sql/plugins/refactoring/commands/AddLookupTableCommand.java
Next
Last
Clone Instance
1
Line Count
20
Source Line
197
Source File
E:/TSE/Projects-CloneDR/sql12/plugins/refactoring/src/net/sourceforge/squirrel_sql/plugins/refactoring/commands/AddLookupTableCommand.java

// Adds a foreign key constraint to the source table.
String constraintName = _customDialog.getForeignKeyName();
ArrayList<String[]> refs = new ArrayList<String[]>();
refs.add(new String[] {
                        sourceColumnName,
                        lookupPrimaryKey
                      } );
String[] fkSQLs = _dialect.getAddForeignKeyConstraintSQL(sourceTableName, lookupTableName, constraintName, false, false, false, false, null, refs, "NO ACTION", "NO ACTION", _qualifier, _sqlPrefs);
results.addAll(Arrays.asList(fkSQLs));


First
Previous
Clone Instance
2
Line Count
20
Source Line
291
Source File
E:/TSE/Projects-CloneDR/sql12/plugins/refactoring/src/net/sourceforge/squirrel_sql/plugins/refactoring/commands/AddLookupTableCommand.java

// Adds a foreign key constraint to the source table for the new column.
String constraintName = _customDialog.getForeignKeyName();
ArrayList<String[]> refs = new ArrayList<String[]>();
refs.add(new String[] {
                        sourceColumnName,
                        lookupPrimaryKey
                      } );
String[] fkSQLs = _dialect.getAddForeignKeyConstraintSQL(sourceTableName, lookupTableName, constraintName, false, false, false, false, null, refs, "NO ACTION", "NO ACTION", _qualifier, _sqlPrefs);
results.addAll(Arrays.asList(fkSQLs));


Clone AbstractionParameter Count: 0Parameter Bindings

// Adds a foreign key constraint to the source table.
// Adds a foreign key constraint to the source table for the new column.
String constraintName = _customDialog.getForeignKeyName();
ArrayList<String[]> refs = new ArrayList<String[]>();
refs.add(new String[] {
                        sourceColumnName,
                        lookupPrimaryKey
                      } );
String[] fkSQLs = _dialect.getAddForeignKeyConstraintSQL(sourceTableName, lookupTableName, constraintName, false, false, false, false, null, refs, "NO ACTION", "NO ACTION", _qualifier, _sqlPrefs);
results.addAll(Arrays.asList(fkSQLs));
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
None