CloneSet1637


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
7220.960method_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
18135
E:/TSE/Projects-CloneDR/sql12/app/src/net/sourceforge/squirrel_sql/client/gui/db/DataCache.java
27157
E:/TSE/Projects-CloneDR/sql12/app/src/net/sourceforge/squirrel_sql/client/gui/db/DataCache.java
Next
Last
Clone Instance
1
Line Count
8
Source Line
135
Source File
E:/TSE/Projects-CloneDR/sql12/app/src/net/sourceforge/squirrel_sql/client/gui/db/DataCache.java

/**
 * Save JDBC drivers to the passed file as XML.
 *
 * @param    file    File to save drivers to.
 *
 * @throws   IllegalArgumentException
 *                   Thrown if <TT>null</TT> <TT>File</TT> passed.
 * @throws   IOException
 *                   Thrown if an I/O error occurs saving.
 * @throws   XMLException
 *                   Thrown if an error occurs translating drivers to XML.
 */
public void saveDrivers(File file) throws IOException, XMLException {
  if (file == null) {
    throw new IllegalArgumentException("File == null");
  }
  saveSecure(file, SQL_DRIVER_IMPL);
}


First
Previous
Clone Instance
2
Line Count
7
Source Line
157
Source File
E:/TSE/Projects-CloneDR/sql12/app/src/net/sourceforge/squirrel_sql/client/gui/db/DataCache.java

/**
 * Save aliases to the passed file as XML.
 *
 * @param    file    File to save aliases to.
 *
 * @throws   IllegalArgumentException
 *                   Thrown if <TT>null</TT> <TT>File</TT> passed.
 * @throws   IOException
 *                   Thrown if an I/O error occurs saving.
 * @throws   XMLException
 *                   Thrown if an error occurs translating aliases to XML.
 */
public void saveAliases(File file) throws IOException, XMLException {
  if (file == null) {
    throw new IllegalArgumentException("File == null");
  }
  saveSecure(file, SQL_ALIAS_IMPL);
}


Clone AbstractionParameter Count: 2Parameter Bindings

/**
    * Save aliases to the passed file as XML.
    *
    * @param    file    File to save aliases to.
    *
    * @throws   IllegalArgumentException
    *                   Thrown if <TT>null</TT> <TT>File</TT> passed.
    * @throws   IOException
    *                   Thrown if an I/O error occurs saving.
    * @throws   XMLException
    *                   Thrown if an error occurs translating aliases to XML.
    */
/**
    * Save JDBC drivers to the passed file as XML.
    *
    * @param    file    File to save drivers to.
    *
    * @throws   IllegalArgumentException
    *                   Thrown if <TT>null</TT> <TT>File</TT> passed.
    * @throws   IOException
    *                   Thrown if an I/O error occurs saving.
    * @throws   XMLException
    *                   Thrown if an error occurs translating drivers to XML.
    */
public void [[#variable1c929720]](File file) throws IOException, XMLException {
  if (file == null) {
    throw new IllegalArgumentException("File == null");
  }
  saveSecure(file,  [[#variable1c9297c0]]);
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#1c929720]]
saveDrivers 
12[[#1c929720]]
saveAliases 
21[[#1c9297c0]]
SQL_DRIVER_IMPL 
22[[#1c9297c0]]
SQL_ALIAS_IMPL