public class StoreEvent extends EventObject { /** * serialVersionUID */ private static final long serialVersionUID = -4143276384111374455L; private Object changes; /** * StoreEvent Constructor * * @param source * @param changes */ public StoreEvent(Object source, Object changes) { super(source); this.changes = changes; } /** * getChanges method * * @return Returns the changes. */ public Object getChanges() { return changes
public class CalendarSelectionChangedEvent extends EventObject { /** * serialVersionUID */ private static final long serialVersionUID = -3639709270195042586L; private ICalendarItem selection; /** * CalendarSelectionChangedEvent parameterized constructor * @param source * @param selection */ public CalendarSelectionChangedEvent(Object source, ICalendarItem selection) { super(source); this.selection = selection; } /** * getSelection method * @return Returns the new selection */ public ICalendarItem getSelection() { return selection
Clone fragments detected by clone detection tool
File path: /columba-1.4-src/calendar-api/src/main/java/org/columba/calendar/store/api/StoreEvent.java File path: /columba-1.4-src/calendar-api/src/main/java/org/columba/calendar/ui/list/api/CalendarSelectionChangedEvent.java
Method name: Method name:
Number of AST nodes: 0 Number of AST nodes: 0
1
public class StoreEvent extends EventObject {
1
public class CalendarSelectionChangedEvent extends EventObject {
2
	/**
2
	/**
3
	 * serialVersionUID
3
	 * serialVersionUID
4
	 */
4
	 */
5
	private static final long serialVersionUID = -4143276384111374455L;
5
	private static final long serialVersionUID = -
6
	private Object changes;
7
	/**
8
	 * StoreEvent C
6
3639709270195042586L;
7
	private ICalendarItem selection;
8
	/**
9
onstructor
9
	 * CalendarSelectionChangedEvent parameterized constructor
10
	 * 
10
	
11
	 * @param source
11
 * @param source
12
	 * @param changes
12
	 * @param selection
13
	 */
13
	 */
14
	public StoreEvent(Object source, Object changes) {
14
	public CalendarSelectionChangedEvent(Object source, ICalendarItem selection) {
15
		super(source);
15
		super(source);
16
		this.changes = changes;
16
		this.selection = selection;
17
	}
17
	}
18
	/**
18
	/**
19
	 * getChanges method
19
	 * getSelection method
20
	 * 
20
	
21
	 * @return Returns the changes.
21
 * @return Returns the new selection
22
	 */
22
	 */
23
	public Object getChanges() {
23
	public ICalendarItem getSelection() {
24
		return changes
24
		return selection
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