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: 4 | Number of AST nodes: 4 | |||
1 | panel5.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 | // ---- weblogTextField ----↵ | 8 | // ---- freebusyTextField ----↵ | |
9 | weblogTextField.setColumns(20);↵ | 9 | freebusyTextField.setColumns(20);↵ | |
10 | panel5.add(weblogTextField, cc.xy(1, 1));↵ | 10 | panel8.add(freebusyTextField, cc.xy(1, 1));↵ | |
11 | // ---- weblogButton ----↵ | 11 | // ---- freebusyButton ----↵ | |
12 | panel5.add(weblogButton, cc.xy(3, 1)); | 12 | panel8.add(freebusyButton, cc.xy(3, 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 | 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 | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
88 | panel5.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"))); | |||||||||||||
89 | weblogTextField.setColumns(20); |
| 105 | freebusyTextField.setColumns(20); | |||||||||||||
90 | panel5.add(weblogTextField, cc.xy(1, 1)); |
| 106 | panel8.add(freebusyTextField, cc.xy(1, 1)); | |||||||||||||
91 | panel5.add(weblogButton, cc.xy(3, 1)); |
| 107 | panel8.add(freebusyButton, cc.xy(3, 1)); |
Row | Violation |
---|