super.setModel(model); initColumns(); setIntercellSpacing(new Dimension(0, 0));
if (message.getAccountUid() == actList.getAccountUid()) { actList.add(message); releaseMutex(); return; }
Clone fragments detected by clone detection tool
File path: /columba-1.4-src/calendar/src/main/java/org/columba/calendar/ui/list/CheckableList.java File path: /columba-1.4-src/mail/src/main/java/org/columba/mail/folder/outbox/SendListManager.java
Method name: void setModel(TableModel) Method name: void add(SendableMessage)
Number of AST nodes: 3 Number of AST nodes: 4
1
super.setModel(model);
2
		initColumns();
3
		setIntercellSpacing(new Dimension(0, 0));
1
if (message.getAccountUid() == actList.getAccountUid()) {
2
                actList.add(message);
3
                releaseMutex();
4
                return;
5
            }
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 comparisons9
  1. {Non-refactorable}
    Mapping Summary
    Number of mapped statements2
    Number of unmapped statements in the first code fragment1
    Number of unmapped statements in the second code fragment1
    Time elapsed for statement mapping (ms)0.0
    Clone typeType 2
    Mapped Statements
    ID Statement ID Statement
    1
    super.setModel(model);
    1
    super.setModel(model);
    8
    actList.add(message);
    Differences
    Expression1Expression2Difference
    super.setModel(model)actList.add(message)TYPE_COMPATIBLE_REPLACEMENT
    Preondition Violations
    Expression super.setModel(model) is a void method call, and thus it cannot be parameterized
    Expression actList.add(message) is a void method call, and thus it cannot be parameterized
    8
    actList.add(message);
    2
    initColumns();
    2
    initColumns();
    9
    releaseMutex();
    Differences
    Expression1Expression2Difference
    initColumnsreleaseMutexMETHOD_INVOCATION_NAME_MISMATCH
    Preondition Violations
    Expression initColumns() is a void method call, and thus it cannot be parameterized
    Expression releaseMutex() is a void method call, and thus it cannot be parameterized
    9
    releaseMutex();
    3
    setIntercellSpacing(new Dimension(0, 0));
                                                                                          
                          
    10
    return;
    Preondition Violations
    Unmatched return;
    10
    return;
    Precondition Violations (5)
    Row Violation
    1Expression super.setModel(model) is a void method call, and thus it cannot be parameterized
    2Expression actList.add(message) is a void method call, and thus it cannot be parameterized
    3Expression initColumns() is a void method call, and thus it cannot be parameterized
    4Expression releaseMutex() is a void method call, and thus it cannot be parameterized
    5Unmatched return;