File path: /columba-1.4-src/calendar/src/main/java/org/columba/calendar/ui/dialog/RecurrenceDialog.java | File path: /columba-1.4-src/calendar/src/main/java/org/columba/calendar/ui/dialog/RecurrenceDialog.java | |||
Method name: void actionPerformed(ActionEvent)
|
Method name: void actionPerformed(ActionEvent)
|
|||
Number of AST nodes: 6 | Number of AST nodes: 4 | |||
1 | endDatePicker.setEnabled(false);↵ | |||
2 | // enable max occurrences↵ | |||
3 | maxOccurrences.setEnabled(true);↵ | |||
1 | if (action.equals("until")) {↵ | 4 | } else if (action.equals("until")) {↵ | |
2 | // disable max occurrences↵ | 5 | // disable max occurrences↵ | |
3 | maxOccurrences.setEnabled(false);↵ | 6 | maxOccurrences.setEnabled(false);↵ | |
4 | // enable until↵ | 7 | // enable until↵ | |
5 | endDatePicker.setEnabled(true);↵ | 8 |
| |
6 | } else if (action.equals("forever")) {↵ | |||
7 | // disable other↵ | |||
8 | endDatePicker.setEnabled(false);↵ | |||
9 | maxOccurrences.setEnabled(false);↵ | |||
10 | } | |||
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 the same method |
Number of node comparisons | 0 |
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 |
---|