monthlyNorthDateHeaderBean .setHeaderRows(new CellDecorationRow[] { new com.miginfocom.calendar.header.CellDecorationRow( DateRangeI.RANGE_TYPE_DAY, new DateFormatList( "EEEE|EEE|1E|", null), new AtFixed(20.0f), new AbsRect(new AtStart(0.0f), new AtStart(0.0f), new AtEnd(0.0f), new AtEnd(0.0f), null, null, null), (java.awt.Paint[]) null, new java.awt.Paint[] { labelColor }, null, new Font[] { UIManager.getFont("Label.font") }, new Integer[] { null }, new AtFraction(0.5f), new AtFraction(0.5f)) });
monthlyNorthDateHeaderBean .setHeaderRows(new CellDecorationRow[] { new com.miginfocom.calendar.header.CellDecorationRow( DateRangeI.RANGE_TYPE_DAY, new DateFormatList("1E", null), new AtFixed(20.0f), new AbsRect( new AtStart(0.0f), new AtStart(0.0f), new AtEnd(0.0f), new AtEnd(0.0f), null, null, null), (java.awt.Paint[]) null, new java.awt.Paint[] { labelColor }, null, new Font[] { UIManager.getFont("Label.font") }, new Integer[] { null }, new AtFraction(0.5f), new AtFraction(0.5f)) });
Clone fragments detected by clone detection tool
File path: /columba-1.4-src/calendar/src/main/java/org/columba/calendar/ui/calendar/DateAreaBeanFactory.java File path: /columba-1.4-src/calendar/src/main/java/org/columba/calendar/ui/navigation/DateAreaBeanFactory.java
Method name: DateAreaBean initMonthlyDateArea() Method name: DateAreaBean initDateArea()
Number of AST nodes: 1 Number of AST nodes: 1
1
monthlyNorthDateHeaderBean
1
monthlyNorthDateHeaderBean
2
				.setHeaderRows(new CellDecorationRow[] { new com.miginfocom.calendar.header.CellDecorationRow(
2
				.setHeaderRows(new CellDecorationRow[] { new com.miginfocom.calendar.header.CellDecorationRow(
3
						DateRangeI.RANGE_TYPE_DAY, new DateFormatList(
3
						DateRangeI.RANGE_TYPE_DAY, new DateFormatList("1E",
4
								"EEEE|EEE|1E|", null), new AtFixed(20.0f),
4
								null), new AtFixed(20.0f),
5
						new AbsRect(
5
 new AbsRect(
6
new AtStart(0.0f), new AtStart(0.0f),
6
								new AtStart(0.0f), new AtStart(0.0f),
7
								new AtEnd(0.0f), new AtEnd(0.0f), null, null,
7
								new AtEnd(0.0f), new AtEnd(0.0f), null, null,
8
								null), (java.awt.Paint[]) null,
8
								null), (java.awt.Paint[]) null,
9
						new java.awt.Paint[] { labelColor }, null,
9
						new java.awt.Paint[] { labelColor }, null,
10
						new Font[] { UIManager.getFont("Label.font") },
10
						new Font[] { UIManager.getFont("Label.font") },
11
						new Integer[] { null }, new AtFraction(0.5f),
11
						new Integer[] { null }, new AtFraction(0.5f),
12
						new AtFraction(0.5f)) });
12
						new AtFraction(0.5f)) });
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
    11
    monthlyNorthDateHeaderBean.setHeaderRows(new CellDecorationRow[] {new com.miginfocom.calendar.header.CellDecorationRow(DateRangeI.RANGE_TYPE_DAY, new DateFormatList("EEEE|EEE|1E|", null), new AtFixed(20.0f), new AbsRect(new AtStart(0.0f), new AtStart(0.0f), new AtEnd(0.0f), new AtEnd(0.0f), null, null, null), (java.awt.Paint[])null, new java.awt.Paint[] {labelColor}, null, new Font[] {UIManager.getFont("Label.font")}, new Integer[] {null}, new AtFraction(0.5f), new AtFraction(0.5f))});
    11
    monthlyNorthDateHeaderBean.setHeaderRows(new CellDecorationRow[] {new com.miginfocom.calendar.header.CellDecorationRow(DateRangeI.RANGE_TYPE_DAY, new DateFormatList("EEEE|EEE|1E|", null), new AtFixed(20.0f), new AbsRect(new AtStart(0.0f), new AtStart(0.0f), new AtEnd(0.0f), new AtEnd(0.0f), null, null, null), (java.awt.Paint[])null, new java.awt.Paint[] {labelColor}, null, new Font[] {UIManager.getFont("Label.font")}, new Integer[] {null}, new AtFraction(0.5f), new AtFraction(0.5f))});
    16
    monthlyNorthDateHeaderBean.setHeaderRows(new CellDecorationRow[] {new com.miginfocom.calendar.header.CellDecorationRow(DateRangeI.RANGE_TYPE_DAY, new DateFormatList("1E", null), new AtFixed(20.0f), new AbsRect(new AtStart(0.0f), new AtStart(0.0f), new AtEnd(0.0f), new AtEnd(0.0f), null, null, null), (java.awt.Paint[])null, new java.awt.Paint[] {labelColor}, null, new Font[] {UIManager.getFont("Label.font")}, new Integer[] {null}, new AtFraction(0.5f), new AtFraction(0.5f))});
    Differences
    Expression1Expression2Difference
    "EEEE|EEE|1E|""1E"LITERAL_VALUE_MISMATCH
    16
    monthlyNorthDateHeaderBean.setHeaderRows(new CellDecorationRow[] {new com.miginfocom.calendar.header.CellDecorationRow(DateRangeI.RANGE_TYPE_DAY, new DateFormatList("1E", null), new AtFixed(20.0f), new AbsRect(new AtStart(0.0f), new AtStart(0.0f), new AtEnd(0.0f), new AtEnd(0.0f), null, null, null), (java.awt.Paint[])null, new java.awt.Paint[] {labelColor}, null, new Font[] {UIManager.getFont("Label.font")}, new Integer[] {null}, new AtFraction(0.5f), new AtFraction(0.5f))});
    Precondition Violations (0)
    Row Violation