File path: /columba-1.4-src/mail/src/main/java/org/columba/mail/gui/composer/html/action/CenterJustifyAction.java | File path: /columba-1.4-src/mail/src/main/java/org/columba/mail/gui/composer/html/action/RightJustifyAction.java | |||
Method name: void CenterJustifyAction(IFrameMediator)
|
Method name: void RightJustifyAction(IFrameMediator)
|
|||
Number of AST nodes: 4 | Number of AST nodes: 4 | |||
1 | super(frameMediator, MailResourceLoader.getString("menu", "composer",↵ | 1 | super(frameMediator, MailResourceLoader.getString("menu", "composer",↵ | |
2 | "menu_format_center_justify"));↵ | 2 | "menu_format_right_justify"));↵ | |
3 | putValue(SHORT_DESCRIPTION, MailResourceLoader.getString("menu",↵ | 3 | putValue(SHORT_DESCRIPTION, MailResourceLoader.getString("menu",↵ | |
4 | "composer", "menu_format_center_justify_tooltip").replaceAll(↵ | 4 | "composer", "menu_format_right_justify_tooltip").replaceAll(↵ | |
5 | "&", ""));↵ | 5 | "&", ""));↵ | |
6 | putValue(LARGE_ICON, MailImageLoader↵ | 6 | putValue(LARGE_ICON, MailImageLoader↵ | |
7 | .getIcon("format-justify-center.png"));↵ | 7 | .getIcon("format-justify-right.png"));↵ | |
8 | putValue(SMALL_ICON, MailImageLoader↵ | 8 | putValue(SMALL_ICON, MailImageLoader↵ | |
9 | .getSmallIcon("format-justify-center.png")); | 9 | .getSmallIcon("format-justify-right.png")); | |
See real code fragment | See real code fragment |
Number of common nesting structure subtrees | 1 |
Number of refactorable cases | 1 |
Number of non-refactorable cases | 0 |
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 | 16 |
Number of mapped statements | 4 |
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, MailResourceLoader.getString("menu", "composer", "menu_format_center_justify")); |
| 1 | super(frameMediator, MailResourceLoader.getString("menu", "composer", "menu_format_right_justify")); | ||||||||||
2 | putValue(SHORT_DESCRIPTION, MailResourceLoader.getString("menu", "composer", "menu_format_center_justify_tooltip").replaceAll("&", "")); |
| 2 | putValue(SHORT_DESCRIPTION, MailResourceLoader.getString("menu", "composer", "menu_format_right_justify_tooltip").replaceAll("&", "")); | ||||||||||
3 | putValue(LARGE_ICON, MailImageLoader.getIcon("format-justify-center.png")); |
| 3 | putValue(LARGE_ICON, MailImageLoader.getIcon("format-justify-right.png")); | ||||||||||
4 | putValue(SMALL_ICON, MailImageLoader.getSmallIcon("format-justify-center.png")); |
| 4 | putValue(SMALL_ICON, MailImageLoader.getSmallIcon("format-justify-right.png")); |
Row | Violation |
---|