Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
6 | 2 | 2 | 0.967 | method_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 6 | 126 | E:/TSE/Projects-CloneDR/sql12/app/src/net/sourceforge/squirrel_sql/client/gui/db/DriversListModel.java |
2 | 6 | 140 | E:/TSE/Projects-CloneDR/sql12/app/src/net/sourceforge/squirrel_sql/client/gui/db/DriversListModel.java |
| |||||
/** * A driver has been added to the cache. * * @param evt Describes the event in the cache. */ public void objectAdded(ObjectCacheChangeEvent evt) { Object obj = evt.getObject(); if (obj instanceof ISQLDriver) { addDriver((ISQLDriver) obj); } } |
| |||||
/** * A driver has been removed from the cache. * * @param evt Describes the event in the cache. */ public void objectRemoved(ObjectCacheChangeEvent evt) { Object obj = evt.getObject(); if (obj instanceof ISQLDriver) { removeDriver((ISQLDriver) obj); } } |
| |||
/** * A driver has been removed from the cache. * * @param evt Describes the event in the cache. */ /** * A driver has been added to the cache. * * @param evt Describes the event in the cache. */ public void [[#variable1c89b100]](ObjectCacheChangeEvent evt) { Object obj = evt.getObject(); if (obj instanceof ISQLDriver) { [[#variable1c89b040]]((ISQLDriver) obj); } } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#1c89b100]] | objectAdded |
1 | 2 | [[#1c89b100]] | objectRemoved |
2 | 1 | [[#1c89b040]] | addDriver |
2 | 2 | [[#1c89b040]] | removeDriver |