CloneSet111


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
69210.997switch_groups[6]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1693244
E:/TSE/Projects-CloneDR/emf-2.4.1/src/org/eclipse/emf/ecore/xmi/impl/XMLSaveImpl.java
2693401
E:/TSE/Projects-CloneDR/emf-2.4.1/src/org/eclipse/emf/ecore/xmi/impl/XMLSaveImpl.java
Next
Last
Clone Instance
1
Line Count
69
Source Line
3244
Source File
E:/TSE/Projects-CloneDR/emf-2.4.1/src/org/eclipse/emf/ecore/xmi/impl/XMLSaveImpl.java

case 0x1:
case 0x2:
case 0x3:
case 0x4:
case 0x5:
case 0x6:
case 0x7:
case 0x8:
case 0xb:
case 0xc:
case 0xe:
case 0xf:
case 0x10:
case 0x11:
case 0x12:
case 0x13:
case 0x14:
case 0x15:
case 0x16:
case 0x17:
case 0x18:
case 0x19:
case 0x1a:
case 0x1b:
case 0x1c:
case 0x1d:
case 0x1e:
case 0x1f:
  {
    if (allowControlCharacters) {
      outputPos = replaceChars(outputPos, CONTROL_CHARACTERS[ch], inputLength);
      changed = true;
    }
    else {
      throw new RuntimeException("An invalid XML character (Unicode: 0x" + Integer.toHexString(ch) + ") was found in the element content:" + input);
    }
    break;
  }
case '&':
  {
    outputPos = replaceChars(outputPos, AMP, inputLength);
    changed = true;
    break;
  }
case '<':
  {
    outputPos = replaceChars(outputPos, LESS, inputLength);
    changed = true;
    break;
  }
case '\"':
  {
    outputPos = replaceChars(outputPos, QUOTE, inputLength);
    changed = true;
    break;
  }
case '\n':
  {
    outputPos = replaceChars(outputPos, LF, inputLength);
    changed = true;
    break;
  }
case '\r':
  {
    outputPos = replaceChars(outputPos, CR, inputLength);
    changed = true;
    break;
  }


First
Previous
Clone Instance
2
Line Count
69
Source Line
3401
Source File
E:/TSE/Projects-CloneDR/emf-2.4.1/src/org/eclipse/emf/ecore/xmi/impl/XMLSaveImpl.java

case 0x1:
case 0x2:
case 0x3:
case 0x4:
case 0x5:
case 0x6:
case 0x7:
case 0x8:
case 0xb:
case 0xc:
case 0xe:
case 0xf:
case 0x10:
case 0x11:
case 0x12:
case 0x13:
case 0x14:
case 0x15:
case 0x16:
case 0x17:
case 0x18:
case 0x19:
case 0x1a:
case 0x1b:
case 0x1c:
case 0x1d:
case 0x1e:
case 0x1f:
  {
    if (allowControlCharacters) {
      outputPos = replaceChars(outputPos, CONTROL_CHARACTERS[ch], inputLength);
      changed = true;
    }
    else {
      throw new RuntimeException("An invalid XML character (Unicode: 0x" + Integer.toHexString(ch) + ") was found in the element content:" + input);
    }
    break;
  }
case '&':
  {
    outputPos = replaceChars(outputPos, AMP, inputLength);
    changed = true;
    break;
  }
case '<':
  {
    outputPos = replaceChars(outputPos, LESS, inputLength);
    changed = true;
    break;
  }
case '\"':
  {
    outputPos = replaceChars(outputPos, QUOTE, inputLength);
    changed = true;
    break;
  }
case '\n':
  {
    outputPos = replaceChars(outputPos, LINE_FEED, inputLength);
    changed = true;
    break;
  }
case '\r':
  {
    outputPos = replaceChars(outputPos, CR, inputLength);
    changed = true;
    break;
  }


Clone AbstractionParameter Count: 1Parameter Bindings

case 0x1:
case 0x2:
case 0x3:
case 0x4:
case 0x5:
case 0x6:
case 0x7:
case 0x8:
case 0xb:
case 0xc:
case 0xe:
case 0xf:
case 0x10:
case 0x11:
case 0x12:
case 0x13:
case 0x14:
case 0x15:
case 0x16:
case 0x17:
case 0x18:
case 0x19:
case 0x1a:
case 0x1b:
case 0x1c:
case 0x1d:
case 0x1e:
case 0x1f:
  {
    if (allowControlCharacters) {
      outputPos = replaceChars(outputPos, CONTROL_CHARACTERS[ch], inputLength);
      changed = true;
    }
    else {
      throw new RuntimeException("An invalid XML character (Unicode: 0x" + Integer.toHexString(ch) + ") was found in the element content:" + input);
    }
    break;
  }
case '&':
  {
    outputPos = replaceChars(outputPos, AMP, inputLength);
    changed = true;
    break;
  }
case '<':
  {
    outputPos = replaceChars(outputPos, LESS, inputLength);
    changed = true;
    break;
  }
case '\"':
  {
    outputPos = replaceChars(outputPos, QUOTE, inputLength);
    changed = true;
    break;
  }
case '\n':
  {
    outputPos = replaceChars(outputPos,  [[#variable170ee680]], inputLength);
    changed = true;
    break;
  }
case '\r':
  {
    outputPos = replaceChars(outputPos, CR, inputLength);
    changed = true;
    break;
  }
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#170ee680]]
LF 
12[[#170ee680]]
LINE_FEED