String labelCase = topLabelCaseAll[0].getAttribute("value"); if (labelCase.equalsIgnoreCase("upper")) { topLabelCase = LABEL_UPPER; } else if (labelCase.equalsIgnoreCase("lower")) { topLabelCase = LABEL_LOWER; } else if (labelCase.equalsIgnoreCase("mixed")) { topLabelCase = LABEL_MIXED;
String labelCase = bottomLabelCaseAll[0].getAttribute("value"); if (labelCase.equalsIgnoreCase("upper")) { bottomLabelCase = LABEL_UPPER; } else if (labelCase.equalsIgnoreCase("lower")) { bottomLabelCase = LABEL_LOWER; } else if (labelCase.equalsIgnoreCase("mixed")) { bottomLabelCase = LABEL_MIXED;
Clone fragments detected by clone detection tool
File path: /emf-2.4.1/src/org/eclipse/emf/mapping/domain/PluginAdapterFactoryMappingDomain.java File path: /emf-2.4.1/src/org/eclipse/emf/mapping/domain/PluginAdapterFactoryMappingDomain.java
Method name: Method name:
Number of AST nodes: 0 Number of AST nodes: 0
1
String labelCase =  topLabelCaseAll[0].getAttribute("value");
1
String labelCase =  bottomLabelCaseAll[0].getAttribute("value");
2
            if (labelCase.equalsIgnoreCase("upper")) 
2
            if (labelCase.equalsIgnoreCase("upper")) 
3
            {
3
            {
4
              topLabelCase = LABEL_UPPER;
4
              bottomLabelCase = LABEL_UPPER;
5
            }
5
            }
6
            else if (labelCase.equalsIgnoreCase("lower")) 
6
            else if (labelCase.equalsIgnoreCase("lower")) 
7
            {
7
            {
8
              topLabelCase = LABEL_LOWER;
8
              bottomLabelCase = LABEL_LOWER;
9
            }
9
            }
10
            else if (labelCase.equalsIgnoreCase("mixed")) 
10
            else if (labelCase.equalsIgnoreCase("mixed")) 
11
            {
11
            {
12
              topLabelCase = LABEL_MIXED;
12
              bottomLabelCase = LABEL_MIXED;
13
            
13
            
Summary
Number of common nesting structure subtrees0
Number of refactorable cases0
Number of non-refactorable cases0
Time elapsed for finding largest common nesting structure subtrees (ms)0.0
Clones location
Number of node comparisons0