JPanel content = new JPanel(new BorderLayout()); content.setBorder(new EmptyBorder(12,12,12,12)); setContentPane(content);
JPanel content = new JPanel(new BorderLayout()); content.setBorder(new EmptyBorder(0,12,12,12)); setContentPane(content);
Clone fragments detected by clone detection tool
File path: /jEdit-4.2/src/org/gjt/sp/jedit/gui/AboutDialog.java File path: /jEdit-4.2/src/org/gjt/sp/jedit/search/SearchDialog.java
Method name: void AboutDialog(View) Method name: void SearchDialog(View)
Number of AST nodes: 3 Number of AST nodes: 3
1
JPanel content = new JPanel(new BorderLayout());
1
JPanel content = new JPanel(new BorderLayout());
2
		content.setBorder(new EmptyBorder(12,12,12,12));
2
		content.setBorder(new EmptyBorder(0,12,12,12));
3
		setContentPane(content);
3
		setContentPane(content);
Summary
Number of common nesting structure subtrees1
Number of refactorable cases1
Number of non-refactorable cases0
Time elapsed for finding largest common nesting structure subtrees (ms)0.0
Clones locationClones are in different classes having the same super class
Number of node comparisons5
  1. {Refactorable}
    Mapping Summary
    Number of mapped statements3
    Number of unmapped statements in the first code fragment0
    Number of unmapped statements in the second code fragment0
    Time elapsed for statement mapping (ms)0.0
    Clone typeType 2
    Mapped Statements
    ID Statement ID Statement
    2
    JPanel content = new JPanel(new BorderLayout());
    3
    JPanel content = new JPanel(new BorderLayout());
    3
    content.setBorder(new EmptyBorder(12, 12, 12, 12));
    3
    content.setBorder(new EmptyBorder(12, 12, 12, 12));
    4
    content.setBorder(new EmptyBorder(0, 12, 12, 12));
    Differences
    Expression1Expression2Difference
    120LITERAL_VALUE_MISMATCH
    4
    content.setBorder(new EmptyBorder(0, 12, 12, 12));
    4
    setContentPane(content);
    5
    setContentPane(content);
    Precondition Violations (0)
    Row Violation