super(); this.item = item; initComponents();
super(); setConfiguration(node); // register interest on tree node changes addFolderListener(FolderEventDelegator.getInstance());
Clone fragments detected by clone detection tool
File path: /columba-1.4-src/mail/src/main/java/org/columba/mail/gui/config/account/PopAttributPanel.java File path: /columba-1.4-src/mail/src/main/java/org/columba/mail/folder/AbstractFolder.java
Method name: void PopAttributPanel(PopItem) Method name: void AbstractFolder(FolderItem)
Number of AST nodes: 3 Number of AST nodes: 3
1
super();
1
super();
2
		this.item = item;
2
		
3
		initComponents(
3
setConfiguration(node);
4
		// register interest on tree node changes
4
);
5
		addFolderListener(FolderEventDelegator.getInstance());
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();
    1
    super();
                                                        
    2
    setConfiguration(node);
    2
    this.item = item;
                                        
    3
    initComponents();
    3
    initComponents();
    3
    addFolderListener(FolderEventDelegator.getInstance());
    Differences
    Expression1Expression2Difference
    initComponentsaddFolderListenerMETHOD_INVOCATION_NAME_MISMATCH
    initComponents()addFolderListener(FolderEventDelegator.getInstance())ARGUMENT_NUMBER_MISMATCH
    Preondition Violations
    Expression initComponents() is a void method call, and thus it cannot be parameterized
    Expression addFolderListener(FolderEventDelegator.getInstance()) is a void method call, and thus it cannot be parameterized
    Expression initComponents() is a void method call, and thus it cannot be parameterized
    Expression addFolderListener(FolderEventDelegator.getInstance()) is a void method call, and thus it cannot be parameterized
    3
    addFolderListener(FolderEventDelegator.getInstance());
    Precondition Violations (4)
    Row Violation
    1Expression initComponents() is a void method call, and thus it cannot be parameterized
    2Expression addFolderListener(FolderEventDelegator.getInstance()) is a void method call, and thus it cannot be parameterized
    3Expression initComponents() is a void method call, and thus it cannot be parameterized
    4Expression addFolderListener(FolderEventDelegator.getInstance()) is a void method call, and thus it cannot be parameterized