public String toString()
{
if (eIsProxy()) return super.toString();
StringBuffer result = new StringBuffer(super.toString());
result.append(" (data: ");
result.append(data);
result.append(", target: ");
result.append(target);
result.append(')');
return result.toString();
public String toString()
{
if (eIsProxy()) return super.toString();
StringBuffer result = new StringBuffer(super.toString());
result.append(" (in2out: ");
result.append(in2out);
result.append(", out2in: ");
result.append(out2in);
result.append(')');
return result.toString();
Clone fragments detected by clone detection tool
File path: /emf-2.4.1/src/org/eclipse/emf/ecore/xml/type/impl/ProcessingInstructionImpl.java
|
|
File path: /emf-2.4.1/src/org/eclipse/emf/mapping/impl/FunctionNamePairImpl.java
|
Method name:
|
|
Method name:
|
Number of AST nodes: 0
|
|
Number of AST nodes: 0
|
|
1 | public String toString()↵ | | 1 | public String toString()↵
|
2 | {↵ | | 2 | {↵
|
3 | if (eIsProxy()) return super.toString();↵ | | 3 | if (eIsProxy()) return super.toString();↵
|
|
4 | StringBuffer result = new StringBuffer(super.toString());↵ | | 4 | StringBuffer result = new StringBuffer(super.toString());↵
|
5 | result.append(" (data: ");↵ | | 5 | result.append(" (in2out: ");↵
|
6 | result.append(data);↵ | | 6 | result.append(in2out);↵
|
7 | result.append(", target: ");↵ | | 7 | result.append(", out2in: ");↵
|
8 | result.append(target);↵ | | 8 | result.append(out2in);↵
|
9 | result.append(')');↵ | | 9 | result.append(')');↵
|
10 | return result.toString();↵ | | 10 | return result.toString();↵
|
11 | | | 11 |
|
See real code fragment |
|
See real code fragment |
Summary
Number of common nesting structure subtrees | 0 |
Number of refactorable cases | 0 |
Number of non-refactorable cases | 0 |
Time elapsed for finding largest common nesting structure subtrees (ms) | 0.0 |
Clones location | |
Number of node comparisons | 0 |