CloneSet3471


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
8201.000statement_sequence[3]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
18125
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/navigator/PackageExplorerActionProvider.java
28523
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageExplorerPart.java
Clone Instance
1
Line Count
8
Source Line
125
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/navigator/PackageExplorerActionProvider.java

                Integer state = null;
                if (memento != null)
                        state = memento.getInteger(TAG_LAYOUT);

                // If no memento try an restore from preference store
                if (state == null) {
                        IPreferenceStore store = JavaPlugin.getDefault().getPreferenceStore();
                        state = new Integer(store.getInt(TAG_LAYOUT));
                }


Clone Instance
2
Line Count
8
Source Line
523
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageExplorerPart.java

                Integer state = null;
                if (memento != null)
                        state = memento.getInteger(TAG_LAYOUT);

                // If no memento try an restore from preference store
                if (state == null) {
                        IPreferenceStore store = JavaPlugin.getDefault().getPreferenceStore();
                        state = new Integer(store.getInt(TAG_LAYOUT));
                }


Clone AbstractionParameter Count: 0Parameter Bindings

Integer state = null;
if (memento != null)
  state = memento.getInteger(TAG_LAYOUT);
// If no memento try an restore from preference store
if (state == null) {
  IPreferenceStore store = JavaPlugin.getDefault().getPreferenceStore();
  state = new Integer(store.getInt(TAG_LAYOUT));
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
None