Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
8 | 2 | 2 | 0.959 | method_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 8 | 77 | E:/TSE/Projects-CloneDR/sql12/app/src/net/sourceforge/squirrel_sql/client/gui/db/DriverWindowManager.java |
2 | 8 | 105 | E:/TSE/Projects-CloneDR/sql12/app/src/net/sourceforge/squirrel_sql/client/gui/db/DriverWindowManager.java |
| |||||
/** * Get a maintenance sheet for the passed driver. If a maintenance sheet * already exists it will be brought to the front. If one doesn't exist * it will be created. * * @param driver The driver that user has requested to modify. * * @throws IllegalArgumentException * Thrown if a <TT>null</TT> <TT>ISQLDriver</TT> passed. */ public void showModifyDriverInternalFrame( final ISQLDriver driver) { if (driver == null) { throw new IllegalArgumentException("ISQLDriver == null"); } _driverWinFactory.getModifySheet(driver).moveToFront(); } |
| |||||
/** * Create and show a new maintenance sheet that will allow the user to * create a new driver that is a copy of the passed one. * * @return The new maintenance sheet. * * @throws IllegalArgumentException * Thrown if a <TT>null</TT> <TT>ISQLDriver</TT> passed. */ public void showCopyDriverInternalFrame( final ISQLDriver driver) { if (driver == null) { throw new IllegalArgumentException("ISQLDriver == null"); } _driverWinFactory.showCopySheet(driver).moveToFront(); } |
| |||
/** * Create and show a new maintenance sheet that will allow the user to * create a new driver that is a copy of the passed one. * * @return The new maintenance sheet. * * @throws IllegalArgumentException * Thrown if a <TT>null</TT> <TT>ISQLDriver</TT> passed. */ /** * Get a maintenance sheet for the passed driver. If a maintenance sheet * already exists it will be brought to the front. If one doesn't exist * it will be created. * * @param driver The driver that user has requested to modify. * * @throws IllegalArgumentException * Thrown if a <TT>null</TT> <TT>ISQLDriver</TT> passed. */ public void [[#variable1c93a8c0]]( final ISQLDriver driver) { if (driver == null) { throw new IllegalArgumentException("ISQLDriver == null"); } _driverWinFactory. [[#variable1c93a860]](driver).moveToFront(); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#1c93a8c0]] | showModifyDriverInternalFrame |
1 | 2 | [[#1c93a8c0]] | showCopyDriverInternalFrame |
2 | 1 | [[#1c93a860]] | getModifySheet |
2 | 2 | [[#1c93a860]] | showCopySheet |