File path: /columba-1.4-src/mail/src/main/java/org/columba/mail/gui/search/ResultList.java | File path: /columba-1.4-src/mail/src/main/java/org/columba/mail/gui/search/ResultList.java | |||
Method name: void ResultList()
|
Method name: JPopupMenu getPopupMenu()
|
|||
Number of AST nodes: 1 | Number of AST nodes: 1 | |||
1 | addMouseListener(new DoubleClickListener() {↵ | 1 | item.addActionListener(new ActionListener() {↵ | |
2 | @Override↵ | |||
3 | public void doubleClick(MouseEvent event) {↵ | 2 | public void actionPerformed(ActionEvent event) {↵ | |
4 | ISearchResult result = (ISearchResult) getSelectedValue();↵ | 3 | ISearchResult result = (ISearchResult) getSelectedValue();↵ | |
5 | try {↵ | 4 | try {↵ | |
6 | IDialogFacade facade = (IDialogFacade) ServiceFacadeRegistry↵ | 5 | IDialogFacade facade = (IDialogFacade) ServiceFacadeRegistry↵ | |
7 | .getInstance().getService(IDialogFacade.class);↵ | 6 | .getInstance().getService(IDialogFacade.class);↵ | |
8 | facade.openMessage(result.getLocation());↵ | 7 | facade.openMessage(result.getLocation());↵ | |
9 | } catch (ServiceNotFoundException e) {↵ | 8 | } catch (ServiceNotFoundException e) {↵ | |
10 | e.printStackTrace();↵ | 9 | e.printStackTrace();↵ | |
11 | }↵ | 10 | }↵ | |
12 | }↵ | 11 | }↵ | |
13 | }); | 12 |
| |
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 declared in the same class |
Number of node comparisons | 1 |
Number of mapped statements | 0 |
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 | Unknown type |
ID | Statement | ID | Statement |
---|
Row | Violation |
---|