GridLayout layout = new GridLayout();
layout.verticalSpacing = 12;
packageComposite.setLayout(layout);
packageComposite.setLayoutData(new GridData(GridData.FILL_BOTH | GridData.GRAB_VERTICAL));
GridLayout layout = new GridLayout();
layout.verticalSpacing = 12;
referencedGenModelComposite.setLayout(layout);
referencedGenModelComposite.setLayoutData(new GridData(GridData.FILL_BOTH | GridData.GRAB_VERTICAL));
Clone fragments detected by clone detection tool
File path: /emf-2.4.1/src/org/eclipse/emf/converter/ui/contribution/base/ModelConverterPackagePage.java
|
|
File path: /emf-2.4.1/src/org/eclipse/emf/converter/ui/contribution/base/ModelConverterPackagePage.java
|
Method name: void createControl(Composite)
|
|
Method name: void createControl(Composite)
|
Number of AST nodes: 4
|
|
Number of AST nodes: 4
|
|
1 | GridLayout layout = new GridLayout();↵ | | 1 | GridLayout layout = new GridLayout();↵
|
2 | layout.verticalSpacing = 12;↵ | | 2 | layout.verticalSpacing = 12;↵
|
3 | packageComposite.setLayout(layout);↵ | | 3 | referencedGenModelComposite.setLayout(layout);↵
|
4 | packageComposite.setLayoutData(new GridData(GridData.FILL_BOTH | GridData.GRAB_VERTICAL)); | | 4 | referencedGenModelComposite.setLayoutData(new GridData(GridData.FILL_BOTH | GridData.GRAB_VERTICAL));
|
See real code fragment |
|
See real code fragment |
Summary
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 |
-
{Non-refactorable}
Mapping Summary
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 |
Mapped Statements
ID |
Statement |
|
ID |
Statement |
Precondition Violations (0)
Row |
Violation |