_textComponent = component; _columnSize = columnSize; _isNullable = isNullable; _beepHelper = beepHelper;
super(prov); recordNumber = aNumber; recordCount = aCount;
Clone fragments detected by clone detection tool
File path: /sql12/fw/src/net/sourceforge/squirrel_sql/fw/datasetviewer/cellcomponent/StringFieldKeyTextHandler.java File path: /sql12/plugins/dbcopy/src/net/sourceforge/squirrel_sql/plugins/dbcopy/event/RecordEvent.java
Method name: void StringFieldKeyTextHandler(IRestorableTextComponent, int, boolean, IToolkitBeepHelper) Method name: void RecordEvent(SessionInfoProvider, int, int)
Number of AST nodes: 4 Number of AST nodes: 3
1
_textComponent = component;
2
		_columnSize = columnSize;
3
		_isNullable = isNullable;
4
		_beepHelper = beepHelper
1
super(prov);
2
        recordNumber = aNumber;
5
;
3
        recordCount = aCount;
Summary
Number of common nesting structure subtrees1
Number of refactorable cases0
Number of non-refactorable cases1
Time elapsed for finding largest common nesting structure subtrees (ms)0.0
Clones locationClones are in different classes
Number of node comparisons10
  1. {Non-refactorable}
    Mapping Summary
    Number of mapped statements1
    Number of unmapped statements in the first code fragment3
    Number of unmapped statements in the second code fragment2
    Time elapsed for statement mapping (ms)0.0
    Clone typeType 3
    Mapped Statements
    ID Statement ID Statement
                                  
    1
    super(prov);
    1
    _textComponent = component;
    1
    _textComponent = component;
    Preondition Violations
    Unmatched statement _textComponent=component; cannot be moved before the extracted code, because it has control dependencies from statements that will be extracted
                                                            
    2
    _columnSize = columnSize;
    2
    _columnSize = columnSize;
    2
    recordNumber = aNumber;
    Differences
    Expression1Expression2Difference
    _columnSizerecordNumberVARIABLE_NAME_MISMATCH
    columnSizeaNumberVARIABLE_NAME_MISMATCH
    2
    recordNumber = aNumber;
                                                
    3
    recordCount = aCount;
    Preondition Violations
    Unmatched statement recordCount=aCount; cannot be moved before the extracted code, because it has control dependencies from statements that will be extracted
    3
    recordCount = aCount;
    3
    _isNullable = isNullable;
    3
    _isNullable = isNullable;
    Preondition Violations
    Unmatched statement _isNullable=isNullable; cannot be moved before the extracted code, because it has control dependencies from statements that will be extracted
                                                        
    4
    _beepHelper = beepHelper;
    4
    _beepHelper = beepHelper;
    Preondition Violations
    Unmatched statement _beepHelper=beepHelper; cannot be moved before the extracted code, because it has control dependencies from statements that will be extracted
                                                        
    Precondition Violations (5)
    Row Violation
    1Unmatched statement _textComponent=component; cannot be moved before the extracted code, because it has control dependencies from statements that will be extracted
    2Unmatched statement recordCount=aCount; cannot be moved before the extracted code, because it has control dependencies from statements that will be extracted
    3Unmatched statement _isNullable=isNullable; cannot be moved before the extracted code, because it has control dependencies from statements that will be extracted
    4Unmatched statement _beepHelper=beepHelper; cannot be moved before the extracted code, because it has control dependencies from statements that will be extracted
    5The refactoring of the clones is infeasible, because classes net.sourceforge.squirrel_sql.fw.datasetviewer.cellcomponent.StringFieldKeyTextHandler and net.sourceforge.squirrel_sql.plugins.dbcopy.event.RecordEvent do not have a common superclass