CloneSet1808


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
10201.000statement_sequence[6]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
11059
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/spelling/JavaSpellingReconcileStrategy.java
21081
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/spelling/PropertiesSpellingReconcileStrategy.java
Clone Instance
1
Line Count
10
Source Line
59
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/spelling/JavaSpellingReconcileStrategy.java

                                        int line = fDocument.getLineOfOffset(problem.getOffset()) + 1;
                                        String word = fDocument.get(problem.getOffset(), problem.getLength());
                                        boolean dictionaryMatch = false;
                                        boolean sentenceStart = false;
                                        if (problem instanceof JavaSpellingProblem) {
                                                dictionaryMatch = ((JavaSpellingProblem) problem).isDictionaryMatch();
                                                sentenceStart = ((JavaSpellingProblem) problem).isSentenceStart();
                                        }
                                        // see: https://bugs.eclipse.org/bugs/show_bug.cgi?id=81514
                                        IEditorInput editorInput = fEditor.getEditorInput();


Clone Instance
2
Line Count
10
Source Line
81
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/spelling/PropertiesSpellingReconcileStrategy.java

                                int line = fDocument.getLineOfOffset(problem.getOffset()) + 1;
                                String word = fDocument.get(problem.getOffset(), problem.getLength());
                                boolean dictionaryMatch = false;
                                boolean sentenceStart = false;
                                if (problem instanceof JavaSpellingProblem) {
                                        dictionaryMatch = ((JavaSpellingProblem) problem).isDictionaryMatch();
                                        sentenceStart = ((JavaSpellingProblem) problem).isSentenceStart();
                                }
                                // see: https://bugs.eclipse.org/bugs/show_bug.cgi?id=81514
                                IEditorInput editorInput = fEditor.getEditorInput();


Clone AbstractionParameter Count: 0Parameter Bindings

int line = fDocument.getLineOfOffset(problem.getOffset()) + 1;
String word = fDocument.get(problem.getOffset(), problem.getLength());
boolean dictionaryMatch = false;
boolean sentenceStart = false;
if (problem instanceof JavaSpellingProblem) {
  dictionaryMatch = ((JavaSpellingProblem) problem).isDictionaryMatch();
  sentenceStart = ((JavaSpellingProblem) problem).isSentenceStart();
}
// see: https://bugs.eclipse.org/bugs/show_bug.cgi?id=81514
IEditorInput editorInput = fEditor.getEditorInput();
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
None