FillAShape bgAShape = new FillAShape(DEFAULT_BACKGROUND_SHAPE_NAME, new RoundRectangle(0, 0, 1, 1, 8, 8), AbsRect.FILL_INSIDE, bgPaint, GfxUtil.AA_HINT_ON);
FillAShape bgAShape = new FillAShape("bg", new RoundRectangle(0, 0, 1, 1, 8, 8), AbsRect.FILL_INSIDE, bgPaint, GfxUtil.AA_HINT_ON);
Clone fragments detected by clone detection tool
File path: /columba-1.4-src/calendar/src/main/java/org/columba/calendar/ui/calendar/ActivityShapeFactory.java File path: /columba-1.4-src/calendar/src/main/java/org/columba/calendar/ui/calendar/AShapeCreator.java
Method name: RootAShape createDefaultShape(int) Method name: RootAShape createTraslucentShapeHorizontal()
Number of AST nodes: 1 Number of AST nodes: 1
1
FillAShape bgAShape = new FillAShape(DEFAULT_BACKGROUND_SHAPE_NAME,
1
FillAShape bgAShape = new FillAShape(
2
				new RoundRectangle(0, 0, 1, 1, 8, 8), AbsRect.FILL_INSIDE,
2
"bg", new RoundRectangle(0, 0, 1,
				1, 8, 8), AbsRect.FILL_INSIDE,
3
				bgPaint, GfxUtil.AA_HINT_ON);
3
 bgPaint, GfxUtil.AA_HINT_ON);
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
Number of node comparisons1
  1. {Refactorable}
    Mapping Summary
    Number of mapped statements1
    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
    8
    FillAShape bgAShape = new FillAShape(DEFAULT_BACKGROUND_SHAPE_NAME, new RoundRectangle(0, 0, 1, 1, 8, 8), AbsRect.FILL_INSIDE, bgPaint, GfxUtil.AA_HINT_ON);
    8
    FillAShape bgAShape = new FillAShape(DEFAULT_BACKGROUND_SHAPE_NAME, new RoundRectangle(0, 0, 1, 1, 8, 8), AbsRect.FILL_INSIDE, bgPaint, GfxUtil.AA_HINT_ON);
    7
    FillAShape bgAShape = new FillAShape("bg", new RoundRectangle(0, 0, 1, 1, 8, 8), AbsRect.FILL_INSIDE, bgPaint, GfxUtil.AA_HINT_ON);
    Differences
    Expression1Expression2Difference
    DEFAULT_BACKGROUND_SHAPE_NAME"bg"TYPE_COMPATIBLE_REPLACEMENT
    7
    FillAShape bgAShape = new FillAShape("bg", new RoundRectangle(0, 0, 1, 1, 8, 8), AbsRect.FILL_INSIDE, bgPaint, GfxUtil.AA_HINT_ON);
    Precondition Violations (0)
    Row Violation