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 | 145 | E:/TSE/Projects-CloneDR/sql12/app/src/net/sourceforge/squirrel_sql/client/gui/db/AliasesListModel.java |
2 | 6 | 159 | E:/TSE/Projects-CloneDR/sql12/app/src/net/sourceforge/squirrel_sql/client/gui/db/AliasesListModel.java |
| |||||
/** * An alias 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 ISQLAlias) { addAlias((ISQLAlias) obj); } } |
| |||||
/** * An alias 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 ISQLAlias) { removeAlias((ISQLAlias) obj); } } |
| |||
/** * An alias has been removed from the cache. * * @param evt Describes the event in the cache. */ /** * An alias has been added to the cache. * * @param evt Describes the event in the cache. */ public void [[#variable1c89a4a0]](ObjectCacheChangeEvent evt) { Object obj = evt.getObject(); if (obj instanceof ISQLAlias) { [[#variable1c89a440]]((ISQLAlias) obj); } } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#1c89a4a0]] | objectAdded |
1 | 2 | [[#1c89a4a0]] | objectRemoved |
2 | 1 | [[#1c89a440]] | addAlias |
2 | 2 | [[#1c89a440]] | removeAlias |