CloneSet304


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
20220.990class_body_declarations[5]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
12037
E:/TSE/Projects-CloneDR/sql12/plugins/mssql/src/net/sourceforge/squirrel_sql/plugins/mssql/action/IndexDefragAction.java
22037
E:/TSE/Projects-CloneDR/sql12/plugins/mssql/src/net/sourceforge/squirrel_sql/plugins/mssql/action/ShowStatisticsAction.java
Next
Last
Clone Instance
1
Line Count
20
Source Line
37
Source File
E:/TSE/Projects-CloneDR/sql12/plugins/mssql/src/net/sourceforge/squirrel_sql/plugins/mssql/action/IndexDefragAction.java

private final ITableInfo _tableInfo;

private final String _indexName;

public IndexDefragAction(IApplication app, Resources rsrc, MssqlPlugin plugin, ITableInfo tableInfo, String indexName) {
  super(app, rsrc);
       /* the constructor above sets this from resources, but we'll override it with
* the name of the index. */
  putValue(javax.swing.Action.NAME, indexName);
  _plugin = plugin;
  _tableInfo = tableInfo;
  _indexName = indexName;
}

public void actionPerformed(ActionEvent evt) {
  if (_session != null)
    new IndexDefragCommand(_session, _plugin, _tableInfo, _indexName).execute();
}

public void setSession(ISession session) {
  _session = session;
}


First
Previous
Clone Instance
2
Line Count
20
Source Line
37
Source File
E:/TSE/Projects-CloneDR/sql12/plugins/mssql/src/net/sourceforge/squirrel_sql/plugins/mssql/action/ShowStatisticsAction.java

private final ITableInfo _tableInfo;

private final String _indexName;

public ShowStatisticsAction(IApplication app, Resources rsrc, MssqlPlugin plugin, ITableInfo tableInfo, String indexName) {
  super(app, rsrc);
       /* the constructor above sets this from resources, but we'll override it with
* the name of the index. */
  putValue(javax.swing.Action.NAME, indexName);
  _plugin = plugin;
  _tableInfo = tableInfo;
  _indexName = indexName;
}

public void actionPerformed(ActionEvent evt) {
  if (_session != null)
    new ShowStatisticsCommand(_session, _plugin, _tableInfo, _indexName).execute();
}

public void setSession(ISession session) {
  _session = session;
}


Clone AbstractionParameter Count: 2Parameter Bindings

private final ITableInfo _tableInfo;

private final String _indexName;

public [[#variable18dd6fc0]](IApplication app, Resources rsrc, MssqlPlugin plugin, ITableInfo tableInfo, String indexName) {
  super(app, rsrc);
  /* the constructor above sets this from resources, but we'll override it with
           * the name of the index. */
  putValue(javax.swing.Action.NAME, indexName);
  _plugin = plugin;
  _tableInfo = tableInfo;
  _indexName = indexName;
}

public void actionPerformed(ActionEvent evt) {
  if (_session != null)
    new [[#variable18dd6f60]](_session, _plugin, _tableInfo, _indexName).execute();
}

public void setSession(ISession session) {
  _session = session;
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#18dd6fc0]]
IndexDefragAction 
12[[#18dd6fc0]]
ShowStatisticsAction 
21[[#18dd6f60]]
IndexDefragCommand 
22[[#18dd6f60]]
ShowStatisticsCommand