File path: /columba-1.4-src/contact/src/main/java/org/columba/addressbook/gui/dialog/contact/ContactEditorDialog.java | File path: /columba-1.4-src/contact/src/main/java/org/columba/addressbook/gui/dialog/contact/ContactEditorDialog.java | |||
Method name: void layoutComponents()
|
Method name: void layoutComponents()
|
|||
Number of AST nodes: 3 | Number of AST nodes: 3 | |||
1 | panel6.setLayout(new FormLayout(new ColumnSpec[] {↵ | 1 | panel8.setLayout(new FormLayout(new ColumnSpec[] {↵ | |
2 | new ColumnSpec(ColumnSpec.FILL,↵ | 2 | new ColumnSpec(ColumnSpec.FILL,↵ | |
3 | Sizes.DEFAULT,↵ | 3 | Sizes.DEFAULT,↵ | |
4 | FormSpec.DEFAULT_GROW),↵ | 4 | FormSpec.DEFAULT_GROW),↵ | |
5 | FormFactory.LABEL_COMPONENT_GAP_COLSPEC,↵ | 5 | FormFactory.LABEL_COMPONENT_GAP_COLSPEC,↵ | |
6 | FormFactory.DEFAULT_COLSPEC }, RowSpec↵ | 6 | FormFactory.DEFAULT_COLSPEC }, RowSpec↵ | |
7 | .decodeSpecs("fill:default")));↵ | 7 | .decodeSpecs("fill:default")));↵ | |
8 | // ---- calendarTextField ----↵ | 8 | // ---- freebusyTextField ----↵ | |
9 | calendarTextField.setColumns(20);↵ | 9 | freebusyTextField.setColumns(20);↵ | |
10 | panel6.add(calendarTextField, cc.xy(1, 1)); | 10 | panel8.add(freebusyTextField, cc.xy(1, 1)); | |
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 the same method |
Number of node comparisons | 9 |
Number of mapped statements | 3 |
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 | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
96 | panel6.setLayout(new FormLayout(new ColumnSpec[] {new ColumnSpec(ColumnSpec.FILL, Sizes.DEFAULT, FormSpec.DEFAULT_GROW), FormFactory.LABEL_COMPONENT_GAP_COLSPEC, FormFactory.DEFAULT_COLSPEC}, RowSpec.decodeSpecs("fill:default"))); |
| 104 | panel8.setLayout(new FormLayout(new ColumnSpec[] {new ColumnSpec(ColumnSpec.FILL, Sizes.DEFAULT, FormSpec.DEFAULT_GROW), FormFactory.LABEL_COMPONENT_GAP_COLSPEC, FormFactory.DEFAULT_COLSPEC}, RowSpec.decodeSpecs("fill:default"))); | |||||||||||||
97 | calendarTextField.setColumns(20); |
| 105 | freebusyTextField.setColumns(20); | |||||||||||||
98 | panel6.add(calendarTextField, cc.xy(1, 1)); |
| 106 | panel8.add(freebusyTextField, cc.xy(1, 1)); |
Row | Violation |
---|