void actionPerformed(ActionEvent e) { if (focusOwner == null) return; String action = (String) e.getActionCommand(); Action a = focusOwner.getActionMap().get(action); if (a != null) a.actionPerformed(new ActionEvent(focusOwner, ActionEvent.ACTION_PERFORMED, null)); } /** * @see org.columba.core.gui.action.AbstractColumbaAction#isSingleton() */ public boolean isSingleton() { return true;
void actionPerformed(ActionEvent e) { if (focusOwner == null) return; String action = (String) e.getActionCommand(); Action a = focusOwner.getActionMap().get(action); if (a != null) a.actionPerformed(new ActionEvent(focusOwner, ActionEvent.ACTION_PERFORMED, null)); } /** * @see org.columba.core.gui.action.AbstractColumbaAction#isSingleton() */ public boolean isSingleton() { return true;
Clone fragments detected by clone detection tool
File path: /columba-1.4-src/core/src/main/java/org/columba/core/gui/globalactions/CutAction.java File path: /columba-1.4-src/core/src/main/java/org/columba/core/gui/globalactions/CopyAction.java
Method name: Method name:
Number of AST nodes: 0 Number of AST nodes: 0
1
void actionPerformed(ActionEvent e) {
1
void actionPerformed(ActionEvent e) {
2
		if (focusOwner == null)
2
		if (focusOwner == null)
3
			return;
3
			return;
4
		String action = (String) e.getActionCommand();
4
		String action = (String) e.getActionCommand();
5
		Action a = focusOwner.getActionMap().get(action);
5
		Action a = focusOwner.getActionMap().get(action);
6
		if (a != null)
6
		if (a != null)
7
			a.actionPerformed(new ActionEvent(focusOwner,
7
			a.actionPerformed(new ActionEvent(focusOwner,
8
					ActionEvent.ACTION_PERFORMED, null));
8
					ActionEvent.ACTION_PERFORMED, null));
9
	}
9
	}
10
	/**
10
	/**
11
	 * @see org.columba.core.gui.action.AbstractColumbaAction#isSingleton()
11
	 * @see org.columba.core.gui.action.AbstractColumbaAction#isSingleton()
12
	 */
12
	 */
13
	public boolean isSingleton() {
13
	public boolean isSingleton() {
14
		return true;
14
		return true;
15
	
15
	
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