CloneSet8298


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
11230.953class_body_declarations[2]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
111156
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/spelling/engine/DefaultSpellChecker.java
211338
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/spelling/engine/DefaultSpellChecker.java
Clone Instance
1
Line Count
11
Source Line
156
Source File
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);
        }


Clone Instance
2
Line Count
11
Source Line
338
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/spelling/engine/DefaultSpellChecker.java

        /*
         * @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);
        }


Clone AbstractionParameter Count: 3Parameter Bindings

/*
         * @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 Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#bb600bc0]]
removeDictionary 
12[[#bb600bc0]]
addDictionary 
21[[#bb601120]]
remove 
22[[#bb601120]]
add 
31[[#bb601160]]
removeListener 
32[[#bb601160]]
addListener