CloneSet8469


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
2210.988class_body_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
121128
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageExplorerPart.java
221463
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/typehierarchy/TypeHierarchyViewPart.java
Clone Instance
1
Line Count
2
Source Line
1128
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageExplorerPart.java

        /*
        private void saveCurrentFrame(IMemento memento) {
        FrameAction action = fActionSet.getUpAction();
        FrameList frameList= action.getFrameList();

                if (frameList.getCurrentIndex() > 0) {
                        TreeFrame currentFrame = (TreeFrame) frameList.getCurrentFrame();
                        // don't persist the working set model as the current frame
                        if (currentFrame.getInput() instanceof WorkingSetModel)
                                return;
                        IMemento frameMemento = memento.createChild(TAG_CURRENT_FRAME);
                        currentFrame.saveState(frameMemento);
                }
        }
        */
        private void saveLinkingEnabled(IMemento memento) {
                memento.putInteger(PreferenceConstants.LINK_PACKAGES_TO_EDITOR, fLinkingEnabled ? 1:  0);
        }


Clone Instance
2
Line Count
2
Source Line
1463
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/typehierarchy/TypeHierarchyViewPart.java

        private void saveLinkingEnabled(IMemento memento) {
                memento.putInteger(PreferenceConstants.LINK_TYPEHIERARCHY_TO_EDITOR, fLinkingEnabled ? 1:  0);
        }


Clone AbstractionParameter Count: 1Parameter Bindings

/*
        private void saveCurrentFrame(IMemento memento) {
        FrameAction action = fActionSet.getUpAction();
        FrameList frameList= action.getFrameList();

                if (frameList.getCurrentIndex() > 0) {
                        TreeFrame currentFrame = (TreeFrame) frameList.getCurrentFrame();
                        // don't persist the working set model as the current frame
                        if (currentFrame.getInput() instanceof WorkingSetModel)
                                return;
                        IMemento frameMemento = memento.createChild(TAG_CURRENT_FRAME);
                        currentFrame.saveState(frameMemento);
                }
        }
        */
private void saveLinkingEnabled(IMemento memento) {
  memento.putInteger(PreferenceConstants. [[#variable975b7640]], fLinkingEnabled ? 1: 0);
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#975b7640]]
LINK_TYPEHIERARCHY_TO_EDITOR 
12[[#975b7640]]
LINK_PACKAGES_TO_EDITOR