Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
10 | 2 | 0 | 1.000 | statement_sequence[6] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 10 | 59 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/spelling/JavaSpellingReconcileStrategy.java |
2 | 10 | 81 | 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(); |
| ||||
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(); |
| |||
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 Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
None |