| Previous CloneSet | Next CloneSet | Back to Main Report |
| Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
|---|---|---|---|---|
| 11 | 2 | 3 | 0.953 | class_body_declarations[2] |
| Clone Abstraction | Parameter Bindings |
| Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
|---|---|---|---|
| 1 | 11 | 156 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/spelling/engine/DefaultSpellChecker.java |
| 2 | 11 | 338 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/spelling/engine/DefaultSpellChecker.java |
| ||||
/*
* @see org.eclipse.spelling.done.ISpellChecker#addDictionary(org.eclipse.spelling.done.ISpellDictionary)
*/
public final void addDictionary( final ISpellDictionary dictionary) {
// synchronizing is necessary as this is a write access
fDictionaries.add(dictionary);
}
/*
* @see org.eclipse.spelling.done.ISpellChecker#addListener(org.eclipse.spelling.done.ISpellEventListener)
*/
public final void addListener( final ISpellEventListener listener) {
// synchronizing is necessary as this is a write access
fListeners.add(listener);
}
|
| ||||
/*
* @see org.eclipse.spelling.done.ISpellChecker#removeDictionary(org.eclipse.spelling.done.ISpellDictionary)
*/
public final void removeDictionary( final ISpellDictionary dictionary) {
// synchronizing is necessary as this is a write access
fDictionaries.remove(dictionary);
}
/*
* @see org.eclipse.spelling.done.ISpellChecker#removeListener(org.eclipse.spelling.done.ISpellEventListener)
*/
public final void removeListener( final ISpellEventListener listener) {
// synchronizing is necessary as this is a write access
fListeners.remove(listener);
}
|
| |||
/*
* @see org.eclipse.spelling.done.ISpellChecker#removeDictionary(org.eclipse.spelling.done.ISpellDictionary)
*/
/*
* @see org.eclipse.spelling.done.ISpellChecker#addDictionary(org.eclipse.spelling.done.ISpellDictionary)
*/
public final void [[#variablebb600bc0]]( final ISpellDictionary dictionary) {
// synchronizing is necessary as this is a write access
fDictionaries. [[#variablebb601120]](dictionary);
}
/*
* @see org.eclipse.spelling.done.ISpellChecker#removeListener(org.eclipse.spelling.done.ISpellEventListener)
*/
/*
* @see org.eclipse.spelling.done.ISpellChecker#addListener(org.eclipse.spelling.done.ISpellEventListener)
*/
public final void [[#variablebb601160]]( final ISpellEventListener listener) {
// synchronizing is necessary as this is a write access
fListeners. [[#variablebb601120]](listener);
}
|
| CloneAbstraction |
| Parameter Index | Clone Instance | Parameter Name | Value |
|---|---|---|---|
| 1 | 1 | [[#bb600bc0]] | removeDictionary |
| 1 | 2 | [[#bb600bc0]] | addDictionary |
| 2 | 1 | [[#bb601120]] | remove |
| 2 | 2 | [[#bb601120]] | add |
| 3 | 1 | [[#bb601160]] | removeListener |
| 3 | 2 | [[#bb601160]] | addListener |