CloneSet4698


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
5201.000statement_sequence[2]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1544
plugins/org.eclipse.jdt.ui/ui refactoring/org/eclipse/jdt/internal/ui/refactoring/nls/search/NLSSearchResultPage.java
2549
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/search/OccurrencesSearchResultPage.java
Clone Instance
1
Line Count
5
Source Line
44
Source File
plugins/org.eclipse.jdt.ui/ui refactoring/org/eclipse/jdt/internal/ui/refactoring/nls/search/NLSSearchResultPage.java

                        if (editor != null && activate)
                                editor.getEditorSite().getPage().activate(editor);
                        if (editor instanceof ITextEditor) {
                                ITextEditor textEditor = (ITextEditor) editor;
                                textEditor.selectAndReveal(currentOffset, currentLength);
                        }


Clone Instance
2
Line Count
5
Source Line
49
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/search/OccurrencesSearchResultPage.java

                if (editor != null && activate)
                        editor.getEditorSite().getPage().activate(editor);
                if (editor instanceof ITextEditor) {
                        ITextEditor textEditor = (ITextEditor) editor;
                        textEditor.selectAndReveal(currentOffset, currentLength);
                }


Clone AbstractionParameter Count: 0Parameter Bindings

if (editor != null && activate)
  editor.getEditorSite().getPage().activate(editor);
if (editor instanceof ITextEditor) {
  ITextEditor textEditor = (ITextEditor) editor;
  textEditor.selectAndReveal(currentOffset, currentLength);
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
None