ITodo todo = (ITodo) c; String summary = todo.getSummary(); if (summary.indexOf(searchTerm) != -1) result.add(id);
ITodo todo = (ITodo) c; Calendar startDate = todo.getDtStart(); startDateLabel.setText(df.format(startDate.getTime()));
Clone fragments detected by clone detection tool
File path: /columba-1.4-src/calendar/src/main/java/org/columba/calendar/store/LocalCalendarStore.java File path: /columba-1.4-src/calendar/src/main/java/org/columba/calendar/ui/search/SearchResultList.java
Method name: Iterator findBySummary(String) Method name: Component getListCellRendererComponent(JList, Object, int, boolean, boolean)
Number of AST nodes: 4 Number of AST nodes: 3
1
ITodo todo = (ITodo) c;
1
ITodo todo = (ITodo) c;
2
				String summary = todo.getSummary();
2
				Calendar startDate = todo.getDtStart();
3
				if (summary.indexOf(searchTerm) != -1)
3
				startDateLabel.setText(df.format(star
4
					result.add(id);
4
tDate.getTime()));
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 comparisons6
  1. {Non-refactorable}
    Mapping Summary
    Number of mapped statements0
    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 typeUnknown type
    Mapped Statements
    ID Statement ID Statement
    Precondition Violations (0)
    Row Violation