CloneSet87


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
7320.973method_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
172832
E:/TSE/Projects-CloneDR/jEdit-4.2/com/microstar/xml/XmlParser.java
272851
E:/TSE/Projects-CloneDR/jEdit-4.2/com/microstar/xml/XmlParser.java
372869
E:/TSE/Projects-CloneDR/jEdit-4.2/com/microstar/xml/XmlParser.java
Next
Last
Clone Instance
1
Line Count
7
Source Line
2832
Source File
E:/TSE/Projects-CloneDR/jEdit-4.2/com/microstar/xml/XmlParser.java

/**
  * Return an external entity's public identifier, if any.
  * @param ename The name of the external entity.
  * @return The entity's system identifier, or null if the
  *         entity was not declared, if it is not an
  *         external entity, or if no public identifier was
  *         provided.
  * @see #getEntityType
  */
public String getEntityPublicId(String ename) {
  Object entity[] = (Object[]) entityInfo.get(ename);
  if (entity == null) {
    return null;
  }
  else {
    return (String) entity[1];
  }
}


Next
Previous
Clone Instance
2
Line Count
7
Source Line
2851
Source File
E:/TSE/Projects-CloneDR/jEdit-4.2/com/microstar/xml/XmlParser.java

/**
  * Return an external entity's system identifier.
  * @param ename The name of the external entity.
  * @return The entity's system identifier, or null if the
  *         entity was not declared, or if it is not an
  *         external entity.
  * @see #getEntityType
  */
public String getEntitySystemId(String ename) {
  Object entity[] = (Object[]) entityInfo.get(ename);
  if (entity == null) {
    return null;
  }
  else {
    return (String) entity[2];
  }
}


First
Previous
Clone Instance
3
Line Count
7
Source Line
2869
Source File
E:/TSE/Projects-CloneDR/jEdit-4.2/com/microstar/xml/XmlParser.java

/**
  * Return the value of an internal entity.
  * @param ename The name of the internal entity.
  * @return The entity's value, or null if the entity was
  *         not declared, or if it is not an internal entity.
  * @see #getEntityType
  */
public String getEntityValue(String ename) {
  Object entity[] = (Object[]) entityInfo.get(ename);
  if (entity == null) {
    return null;
  }
  else {
    return (String) entity[3];
  }
}


Clone AbstractionParameter Count: 2Parameter Bindings

/**
    * Return the value of an internal entity.
    * @param ename The name of the internal entity.
    * @return The entity's value, or null if the entity was
    *         not declared, or if it is not an internal entity.
    * @see #getEntityType
    */
/**
    * Return an external entity's system identifier.
    * @param ename The name of the external entity.
    * @return The entity's system identifier, or null if the
    *         entity was not declared, or if it is not an
    *         external entity.
    * @see #getEntityType
    */
/**
    * Return an external entity's public identifier, if any.
    * @param ename The name of the external entity.
    * @return The entity's system identifier, or null if the
    *         entity was not declared, if it is not an
    *         external entity, or if no public identifier was
    *         provided.
    * @see #getEntityType
    */
public String  [[#variableae811a0]](String ename) {
  Object entity[] = (Object[]) entityInfo.get(ename);
  if (entity == null) {
    return null;
  }
  else {
    return (String) entity[ [[#variableae81140]]];
  }
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#ae811a0]]
getEntityPublicId 
12[[#ae811a0]]
getEntitySystemId 
13[[#ae811a0]]
getEntityValue 
21[[#ae81140]]
1 
22[[#ae81140]]
2 
23[[#ae81140]]
3