CloneSet182


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

/**
  * Retrieve the allowed values for an enumerated attribute type.
  * @param name The name of the associated element.
  * @param aname The name of the attribute.
  * @return A string containing the token list.
  * @see #ATTRIBUTE_ENUMERATED
  * @see #ATTRIBUTE_NOTATION
  */
public String getAttributeEnumeration(String name, String aname) {
  Object attribute[] = getAttribute(name, aname);
  if (attribute == null) {
    return null;
  }
  else {
    return (String) attribute[3];
  }
}


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

/**
  * Retrieve the default value of a declared attribute.
  * @param name The name of the associated element.
  * @param aname The name of the attribute.
  * @return The default value, or null if the attribute was
  *         #IMPLIED or simply undeclared and unspecified.
  * @see #getAttributeExpandedValue
  */
public String getAttributeDefaultValue(String name, String aname) {
  Object attribute[] = getAttribute(name, aname);
  if (attribute == null) {
    return null;
  }
  else {
    return (String) attribute[1];
  }
}


Clone AbstractionParameter Count: 2Parameter Bindings

/**
    * Retrieve the default value of a declared attribute.
    * @param name The name of the associated element.
    * @param aname The name of the attribute.
    * @return The default value, or null if the attribute was
    *         #IMPLIED or simply undeclared and unspecified.
    * @see #getAttributeExpandedValue
    */
/**
    * Retrieve the allowed values for an enumerated attribute type.
    * @param name The name of the associated element.
    * @param aname The name of the attribute.
    * @return A string containing the token list.
    * @see #ATTRIBUTE_ENUMERATED
    * @see #ATTRIBUTE_NOTATION
    */
public String  [[#variableaec7620]](String name, String aname) {
  Object attribute[] = getAttribute(name, aname);
  if (attribute == null) {
    return null;
  }
  else {
    return (String) attribute[ [[#variableaec74a0]]];
  }
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#aec7620]]
getAttributeEnumeration 
12[[#aec7620]]
getAttributeDefaultValue 
21[[#aec74a0]]
3 
22[[#aec74a0]]
1