else if (this.equals(ItemLabelAnchor.OUTSIDE10)) { result = ItemLabelAnchor.OUTSIDE10; } else if (this.equals(ItemLabelAnchor.OUTSIDE11)) { result = ItemLabelAnchor.OUTSIDE11; } else if (this.equals(ItemLabelAnchor.OUTSIDE12)) { result = ItemLabelAnchor.OUTSIDE12;
if (this.equals(PieLabelLinkStyle.STANDARD)) { result = PieLabelLinkStyle.STANDARD; } else if (this.equals(PieLabelLinkStyle.QUAD_CURVE)) { result = PieLabelLinkStyle.QUAD_CURVE; } else if (this.equals(PieLabelLinkStyle.CUBIC_CURVE)) { result = PieLabelLinkStyle.CUBIC_CURVE;
Clone fragments detected by clone detection tool
File path: /jfreechart-1.0.10/src/org/jfree/chart/labels/ItemLabelAnchor.java File path: /jfreechart-1.0.10/src/org/jfree/chart/plot/PieLabelLinkStyle.java
Method name: Method name:
Number of AST nodes: 0 Number of AST nodes: 0
1
else if (this.equals(ItemLabelAnchor.OUTSIDE10)) {
1
if (this.equals(PieLabelLinkStyle.STANDARD)) {
2
            result = ItemLabelAnchor.OUTSIDE10;
2
            result = PieLabelLinkStyle.STANDARD;
3
        }
3
        }
4
        else if (this.equals(ItemLabelAnchor.OUTSIDE11)) {
4
        else if (this.equals(PieLabelLinkStyle.QUAD_CURVE)) {
5
            result = ItemLabelAnchor.OUTSIDE11;
5
            result = PieLabelLinkStyle.QUAD_CURVE;
6
        }
6
        }
7
        else if (this.equals(ItemLabelAnchor.OUTSIDE12)) {
7
        else if (this.equals(PieLabelLinkStyle.CUBIC_CURVE)) {
8
            result = ItemLabelAnchor.OUTSIDE12;
8
            result = PieLabelLinkStyle.CUBIC_CURVE;
9
        
9
        
Summary
Number of common nesting structure subtrees0
Number of refactorable cases0
Number of non-refactorable cases0
Time elapsed for finding largest common nesting structure subtrees (ms)0.0
Clones location
Number of node comparisons0