CloneSet4756


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
10201.000class_body_declarations[3]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
110409
plugins/org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/wizards/MethodStubsSelectionButtonGroup.java
210224
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/dialogfields/DialogField.java
Clone Instance
1
Line Count
10
Source Line
409
Source File
plugins/org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/wizards/MethodStubsSelectionButtonGroup.java

        /**
         * Gets the enable state of the dialog field.
         */
        public final boolean isEnabled() {
                return fEnabled;
        }

        protected final void assertCompositeNotNull(Composite comp) {
                Assert.isNotNull(comp, "uncreated control requested with composite null"); //$NON-NLS-1$
        }

        protected final void assertEnoughColumns(int nColumns) {
                Assert.isTrue(nColumns >= getNumberOfControls(), "given number of columns is too small"); //$NON-NLS-1$
        }


Clone Instance
2
Line Count
10
Source Line
224
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/dialogfields/DialogField.java

        /**
         * Gets the enable state of the dialog field.
         */
        public final boolean isEnabled() {
                return fEnabled;
        }

        protected final void assertCompositeNotNull(Composite comp) {
                Assert.isNotNull(comp, "uncreated control requested with composite null"); //$NON-NLS-1$
        }

        protected final void assertEnoughColumns(int nColumns) {
                Assert.isTrue(nColumns >= getNumberOfControls(), "given number of columns is too small"); //$NON-NLS-1$
        }


Clone AbstractionParameter Count: 0Parameter Bindings

/**
         * Gets the enable state of the dialog field.
         */
public final boolean isEnabled() {
  return fEnabled;
}

protected final void assertCompositeNotNull(Composite comp) {
  Assert.isNotNull(comp, "uncreated control requested with composite null"); //$NON-NLS-1$
}

protected final void assertEnoughColumns(int nColumns) {
  Assert.isTrue(nColumns >= getNumberOfControls(), "given number of columns is too small"); //$NON-NLS-1$
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
None