CloneSet481


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
6320.959method_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
16126
E:/TSE/Projects-CloneDR/sql12/plugins/postgres/src/net/sourceforge/squirrel_sql/plugins/postgres/gui/VacuumTableDialog.java
26207
E:/TSE/Projects-CloneDR/sql12/plugins/refactoring/src/net/sourceforge/squirrel_sql/plugins/refactoring/gui/DefaultDropDialog.java
36134
E:/TSE/Projects-CloneDR/sql12/plugins/refactoring/src/net/sourceforge/squirrel_sql/plugins/refactoring/gui/DropTableDialog.java
Next
Last
Clone Instance
1
Line Count
6
Source Line
126
Source File
E:/TSE/Projects-CloneDR/sql12/plugins/postgres/src/net/sourceforge/squirrel_sql/plugins/postgres/gui/VacuumTableDialog.java

private String[] getSimpleNames(ITableInfo[] infos) {
  String[] result = new String[infos.length];
  for (int i = 0; i < result.length; i++) {
    result[i] = infos[i].getSimpleName();
  }
  return result;
}


Next
Previous
Clone Instance
2
Line Count
6
Source Line
207
Source File
E:/TSE/Projects-CloneDR/sql12/plugins/refactoring/src/net/sourceforge/squirrel_sql/plugins/refactoring/gui/DefaultDropDialog.java

/**
 * Gets the simple view names of the selected DatabaseObjectInfos.
 *
 * @param dbInfo InfoObjects of the selected items in the tree.
 * @return the simple names of the database item.
 */
private String[] getSimpleNames(IDatabaseObjectInfo[] dbInfo) {
  String[] result = new String[dbInfo.length];
  for (int i = 0; i < result.length; i++) {
    result[i] = dbInfo[i].getSimpleName();
  }
  return result;
}


First
Previous
Clone Instance
3
Line Count
6
Source Line
134
Source File
E:/TSE/Projects-CloneDR/sql12/plugins/refactoring/src/net/sourceforge/squirrel_sql/plugins/refactoring/gui/DropTableDialog.java

private String[] getSimpleNames(ITableInfo[] tableInfos) {
  String[] result = new String[tableInfos.length];
  for (int i = 0; i < result.length; i++) {
    result[i] = tableInfos[i].getSimpleName();
  }
  return result;
}


Clone AbstractionParameter Count: 2Parameter Bindings

/**
     * Gets the simple view names of the selected DatabaseObjectInfos.
     *
     * @param dbInfo InfoObjects of the selected items in the tree.
     * @return the simple names of the database item.
     */
private String[] getSimpleNames( [[#variable1ce89f00]][]  [[#variable1ce89de0]]) {
  String[] result = new String[ [[#variable1ce89de0]].length];
  for (int i = 0; i < result.length; i++) {
    result[i] = [[#variable1ce89de0]][i].getSimpleName();
  }
  return result;
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#1ce89f00]]
ITableInfo 
12[[#1ce89f00]]
IDatabaseObjectInfo 
13[[#1ce89f00]]
ITableInfo 
21[[#1ce89de0]]
infos 
22[[#1ce89de0]]
dbInfo 
23[[#1ce89de0]]
tableInfos