Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
7 | 2 | 2 | 0.960 | method_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 8 | 135 | E:/TSE/Projects-CloneDR/sql12/app/src/net/sourceforge/squirrel_sql/client/gui/db/DataCache.java |
2 | 7 | 157 | 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); } |
| |||||
/** * 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); } |
| |||
/** * 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 Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#1c929720]] | saveDrivers |
1 | 2 | [[#1c929720]] | saveAliases |
2 | 1 | [[#1c9297c0]] | SQL_DRIVER_IMPL |
2 | 2 | [[#1c9297c0]] | SQL_ALIAS_IMPL |