CloneSet2658


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
6240.965statement_sequence[6]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
16166
plugins/org.eclipse.jdt.debug.ui/ui/org/eclipse/jdt/internal/debug/ui/JavaDebugPreferencePage.java
26174
plugins/org.eclipse.jdt.debug.ui/ui/org/eclipse/jdt/internal/debug/ui/JavaDebugPreferencePage.java
Clone Instance
1
Line Count
6
Source Line
166
Source File
plugins/org.eclipse.jdt.debug.ui/ui/org/eclipse/jdt/internal/debug/ui/JavaDebugPreferencePage.java

                fTimeoutText.setValidateStrategy(StringFieldEditor.VALIDATE_ON_KEY_STROKE);
                minValue = coreStore.getDefaultInt(JDIDebugModel.PREF_REQUEST_TIMEOUT);
                fTimeoutText.setValidRange(minValue, Integer.MAX_VALUE);
                fTimeoutText.setErrorMessage(MessageFormat.format(DebugUIMessages.JavaDebugPreferencePage_Value_must_be_a_valid_integer_greater_than__0__ms_1, new Object[] {
                                                                                                                                                                             new Integer(minValue)
                                                                                                                                                                            } ));
                fTimeoutText.load();
                fTimeoutText.setPropertyChangeListener(this );


Clone Instance
2
Line Count
6
Source Line
174
Source File
plugins/org.eclipse.jdt.debug.ui/ui/org/eclipse/jdt/internal/debug/ui/JavaDebugPreferencePage.java

                fConnectionTimeoutText.setValidateStrategy(StringFieldEditor.VALIDATE_ON_KEY_STROKE);
                minValue = runtimeStore.getDefaultInt(JavaRuntime.PREF_CONNECT_TIMEOUT);
                fConnectionTimeoutText.setValidRange(minValue, Integer.MAX_VALUE);
                fConnectionTimeoutText.setErrorMessage(MessageFormat.format(DebugUIMessages.JavaDebugPreferencePage_Value_must_be_a_valid_integer_greater_than__0__ms_1, new Object[] {
                                                                                                                                                                                       new Integer(minValue)
                                                                                                                                                                                      } ));
                fConnectionTimeoutText.load();
                fConnectionTimeoutText.setPropertyChangeListener(this );


Clone AbstractionParameter Count: 4Parameter Bindings

 [[#variable76c8ce40]].setValidateStrategy(StringFieldEditor.VALIDATE_ON_KEY_STROKE);
minValue = [[#variable76c8ce00]].getDefaultInt( [[#variable76c8ccc0]]. [[#variable76c8cda0]]);
 [[#variable76c8ce40]].setValidRange(minValue, Integer.MAX_VALUE);
 [[#variable76c8ce40]].setErrorMessage(MessageFormat.format(DebugUIMessages.JavaDebugPreferencePage_Value_must_be_a_valid_integer_greater_than__0__ms_1, new Object[] {
                                                                                                                                                                        new Integer(minValue)
                                                                                                                                                                      } ));
 [[#variable76c8ce40]].load();
 [[#variable76c8ce40]].setPropertyChangeListener(this );
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#76c8ce40]]
fConnectionTimeoutText 
12[[#76c8ce40]]
fTimeoutText 
21[[#76c8ce00]]
runtimeStore 
22[[#76c8ce00]]
coreStore 
31[[#76c8ccc0]]
JavaRuntime 
32[[#76c8ccc0]]
JDIDebugModel 
41[[#76c8cda0]]
PREF_CONNECT_TIMEOUT 
42[[#76c8cda0]]
PREF_REQUEST_TIMEOUT