File path: /columba-1.4-src/calendar/src/main/java/org/columba/calendar/ui/action/GoNextAction.java | File path: /columba-1.4-src/calendar/src/main/java/org/columba/calendar/ui/action/GoBackAction.java | |||
Method name: void GoNextAction(IFrameMediator)
|
Method name: void GoBackAction(IFrameMediator)
|
|||
Number of AST nodes: 5 | Number of AST nodes: 5 | |||
1 | super(frameMediator, "Go Next");↵ | 1 | super(frameMediator, "Go Back");↵ | |
2 | ↵ | 2 | ↵ | |
3 | putValue(AbstractColumbaAction.TOOLBAR_NAME, "Next");↵ | 3 | putValue(AbstractColumbaAction.TOOLBAR_NAME, "Back");↵ | |
4 | setShowToolBarText(false);↵ | 4 | setShowToolBarText(false);↵ | |
5 | ↵ | 5 | ↵ | |
6 | putValue(AbstractColumbaAction.SMALL_ICON, ImageLoader.getSmallIcon(IconKeys.GO_NEXT));↵ | 6 | putValue(AbstractColumbaAction.SMALL_ICON, ImageLoader.getSmallIcon(IconKeys.GO_PREVIOUS));↵ | |
7 | putValue(AbstractColumbaAction.LARGE_ICON, ImageLoader.getIcon(IconKeys.GO_NEXT)); | 7 | putValue(AbstractColumbaAction.LARGE_ICON, ImageLoader.getIcon(IconKeys.GO_PREVIOUS)); | |
See real code fragment | See real code fragment |
Number of common nesting structure subtrees | 1 |
Number of refactorable cases | 0 |
Number of non-refactorable cases | 1 |
Time elapsed for finding largest common nesting structure subtrees (ms) | 0.0 |
Clones location | Clones are in different classes having the same super class |
Number of node comparisons | 25 |
Number of mapped statements | 5 |
Number of unmapped statements in the first code fragment | 0 |
Number of unmapped statements in the second code fragment | 0 |
Time elapsed for statement mapping (ms) | 0.0 |
Clone type | Type 2 |
ID | Statement | ID | Statement | |||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
1 | super(frameMediator, "Go Next"); |
| 1 | super(frameMediator, "Go Back"); | ||||||||||||
2 | putValue(AbstractColumbaAction.TOOLBAR_NAME, "Next"); |
| 2 | putValue(AbstractColumbaAction.TOOLBAR_NAME, "Back"); | ||||||||||||
3 | setShowToolBarText(false); | 3 | setShowToolBarText(false); | |||||||||||||
4 | putValue(AbstractColumbaAction.SMALL_ICON, ImageLoader.getSmallIcon(IconKeys.GO_NEXT)); |
| 4 | putValue(AbstractColumbaAction.SMALL_ICON, ImageLoader.getSmallIcon(IconKeys.GO_PREVIOUS)); | ||||||||||||
5 | putValue(AbstractColumbaAction.LARGE_ICON, ImageLoader.getIcon(IconKeys.GO_NEXT)); |
| 5 | putValue(AbstractColumbaAction.LARGE_ICON, ImageLoader.getIcon(IconKeys.GO_PREVIOUS)); |
Row | Violation |
---|---|
1 | Super constructor call super(frameMediator,"Go Next"); cannot be extracted from constructor |
2 | Super constructor call super(frameMediator,"Go Back"); cannot be extracted from constructor |