CloneSet4040


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
7201.000class_body_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
17355
plugins/org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/ui/JUnitPlugin.java
27882
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/JavaPlugin.java
Clone Instance
1
Line Count
7
Source Line
355
Source File
plugins/org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/ui/JUnitPlugin.java

        public IDialogSettings getDialogSettingsSection(String name) {
                IDialogSettings dialogSettings = getDialogSettings();
                IDialogSettings section = dialogSettings.getSection(name);
                if (section == null) {
                        section = dialogSettings.addNewSection(name);
                }
                return section;
        }


Clone Instance
2
Line Count
7
Source Line
882
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/JavaPlugin.java

        /**
         * Returns a section in the Java plugin's dialog settings. If the section doesn't exist yet, it is created.
         *
         * @param name the name of the section
         * @return the section of the given name
         * @since 3.2
         */
        public IDialogSettings getDialogSettingsSection(String name) {
                IDialogSettings dialogSettings = getDialogSettings();
                IDialogSettings section = dialogSettings.getSection(name);
                if (section == null) {
                        section = dialogSettings.addNewSection(name);
                }
                return section;
        }


Clone AbstractionParameter Count: 0Parameter Bindings

/**
         * Returns a section in the Java plugin's dialog settings. If the section doesn't exist yet, it is created.
         *
         * @param name the name of the section
         * @return the section of the given name
         * @since 3.2
         */
public IDialogSettings getDialogSettingsSection(String name) {
  IDialogSettings dialogSettings = getDialogSettings();
  IDialogSettings section = dialogSettings.getSection(name);
  if (section == null) {
    section = dialogSettings.addNewSection(name);
  }
  return section;
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
None