CloneSet2739


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
4201.000class_body_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
14855
plugins/org.eclipse.jdt.apt.ui/src/org/eclipse/jdt/apt/ui/internal/preferences/BaseConfigurationBlock.java
24259
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/OptionsConfigurationBlock.java
Clone Instance
1
Line Count
4
Source Line
855
Source File
plugins/org.eclipse.jdt.apt.ui/src/org/eclipse/jdt/apt/ui/internal/preferences/BaseConfigurationBlock.java

        private void testIfOptionsComplete(Key[] allKeys) {
                for (int i = 0; i < allKeys.length; i++) {
                        if (allKeys[i].getStoredValue(fLookupOrder, false, fManager) == null) {
                                JavaPlugin.logErrorMessage("preference option missing: " + allKeys[i] + " (" + this.getClass().getName() + ')'); //$NON-NLS-1$//$NON-NLS-2$
                        }
                }
        }


Clone Instance
2
Line Count
4
Source Line
259
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/OptionsConfigurationBlock.java

        private void testIfOptionsComplete(Key[] allKeys) {
                for (int i = 0; i < allKeys.length; i++) {
                        if (allKeys[i].getStoredValue(fLookupOrder, false, fManager) == null) {
                                JavaPlugin.logErrorMessage("preference option missing: " + allKeys[i] + " (" + this.getClass().getName() + ')'); //$NON-NLS-1$//$NON-NLS-2$
                        }
                }
        }


Clone AbstractionParameter Count: 0Parameter Bindings

private void testIfOptionsComplete(Key[] allKeys) {
  for (int i = 0; i < allKeys.length; i++) {
    if (allKeys[i].getStoredValue(fLookupOrder, false, fManager) == null) {
      JavaPlugin.logErrorMessage("preference option missing: " + allKeys[i] + " (" + this.getClass().getName() + ')'); //$NON-NLS-1$//$NON-NLS-2$
    }
  }
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
None