Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
6 | 2 | 4 | 0.965 | statement_sequence[6] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 6 | 166 | plugins/org.eclipse.jdt.debug.ui/ui/org/eclipse/jdt/internal/debug/ui/JavaDebugPreferencePage.java |
2 | 6 | 174 | 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 ); |
| ||||
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 ); |
| |||
[[#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 Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#76c8ce40]] | fConnectionTimeoutText |
1 | 2 | [[#76c8ce40]] | fTimeoutText |
2 | 1 | [[#76c8ce00]] | runtimeStore |
2 | 2 | [[#76c8ce00]] | coreStore |
3 | 1 | [[#76c8ccc0]] | JavaRuntime |
3 | 2 | [[#76c8ccc0]] | JDIDebugModel |
4 | 1 | [[#76c8cda0]] | PREF_CONNECT_TIMEOUT |
4 | 2 | [[#76c8cda0]] | PREF_REQUEST_TIMEOUT |