CloneSet2072


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
10201.000class_body_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
110792
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/jarpackager/JarManifestWizardPage.java
210396
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/jarpackager/JarOptionsPage.java
Clone Instance
1
Line Count
10
Source Line
792
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/jarpackager/JarManifestWizardPage.java

        /**
         * Creates a new label with a bold font.
         *
         * @param parent the parent control
         * @param text the label text
         * @return the new label control
         */
        protected Label createLabel(Composite parent, String text, boolean bold) {
                Label label = new Label(parent, SWT.NONE);
                if (bold)
                        label.setFont(JFaceResources.getBannerFont());
                label.setText(text);
                GridData data = new GridData();
                data.verticalAlignment = GridData.FILL;
                data.horizontalAlignment = GridData.FILL;
                label.setLayoutData(data);
                return label;
        }


Clone Instance
2
Line Count
10
Source Line
396
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/jarpackager/JarOptionsPage.java

        /**
         * Creates a new label with a bold font.
         *
         * @param parent the parent control
         * @param text the label text
         * @return the new label control
         */
        protected Label createLabel(Composite parent, String text, boolean bold) {
                Label label = new Label(parent, SWT.NONE);
                if (bold)
                        label.setFont(JFaceResources.getBannerFont());
                label.setText(text);
                GridData data = new GridData();
                data.verticalAlignment = GridData.FILL;
                data.horizontalAlignment = GridData.FILL;
                label.setLayoutData(data);
                return label;
        }


Clone AbstractionParameter Count: 0Parameter Bindings

/**
         * Creates a new label with a bold font.
         *
         * @param parent the parent control
         * @param text the label text
         * @return the new label control
         */
protected Label createLabel(Composite parent, String text, boolean bold) {
  Label label = new Label(parent, SWT.NONE);
  if (bold)
    label.setFont(JFaceResources.getBannerFont());
  label.setText(text);
  GridData data = new GridData();
  data.verticalAlignment = GridData.FILL;
  data.horizontalAlignment = GridData.FILL;
  label.setLayoutData(data);
  return label;
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
None