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;
public class TaskManagerEvent extends EventObject { /** * The <code>serialVersionUID</code> which was generated from the * compiler. */ private static final long serialVersionUID = 4738977594206080618L; protected Worker worker; /** * Creates a new event from the given source with the given worker that * has changed. */ public TaskManagerEvent(Object theSource, Worker theWorker) { super(theSource); this.worker = theWorker; } /** * Returns the worker that has been added or removed. */ public Worker getWorker() { return worker;
Clone fragments detected by clone detection tool
File path: /columba-1.4-src/calendar-api/src/main/java/org/columba/calendar/ui/list/api/CalendarSelectionChangedEvent.java File path: /columba-1.4-src/core/src/main/java/org/columba/core/command/TaskManagerEvent.java
Method name: Method name:
Number of AST nodes: 0 Number of AST nodes: 0
1
public class CalendarSelectionChangedEvent extends EventObject {
1
public class TaskManagerEvent extends EventObject {
2
	/**
3
	 * serialVersionUID
4
	 */
5
	private static final long serialVersionUID = -3639709270195042586L;
6
	private ICalendarItem selection;
7
	/**
8
	 * CalendarSelectionChangedEvent parameterized constructor
9
	 * @param source
10
	 * @param selection
11
	 */
12
	public CalendarSelectionChan
2
    /**
3
         * The <code>serialVersionUID</code> which was generated from the
4
         * compiler.
5
         */
6
    private static final long serialVersionUID = 4738977594206080618L;
7
    protected Worker worker;
8
    /**
9
         * Creates a new event from the given source with the given worker that
10
         * has changed.
11
         */
13
gedEvent(Object source, ICalendarItem selection) {
12
    public TaskManagerEvent(Object theSource, Worker theWorker) {
14
		super(source);
13
	super(theSource);
15
		this.selection = selection;
14
	this.
16
	}
17
	/**
18
	 * getSelection method
19
	 * @return Returns the new selection
20
	 */
21
	public ICalendarItem getSelection
15
worker = theWorker;
16
    }
17
    /**
18
         * Returns the worker that has been added or removed.
19
         */
22
() {
20
    public Worker getWorker() {
23
		return selection;
21
	return 
24
	
22
worker;
23
    
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