CloneSet941


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
2210.953method_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
12208
E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/org/apache/tools/ant/taskdefs/FixCRLF.java
22236
E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/org/apache/tools/ant/taskdefs/FixCRLF.java
Next
Last
Clone Instance
1
Line Count
2
Source Line
208
Source File
E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/org/apache/tools/ant/taskdefs/FixCRLF.java

/**
 * Specify how tab characters are to be handled.
 *
 * @param attr valid values:
 * <ul>
 * <li>add: convert sequences of spaces which span a tab stop to tabs
 * <li>asis: leave tab and space characters alone
 * <li>remove: convert tabs to spaces
 * </ul>
 */
public void setTab(AddAsisRemove attr) {
  filter.setTab(FixCrLfFilter.AddAsisRemove.newInstance(attr.getValue()));
}


First
Previous
Clone Instance
2
Line Count
2
Source Line
236
Source File
E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/org/apache/tools/ant/taskdefs/FixCRLF.java

/**
 * Specify how DOS EOF (control-z) characters are to be handled.
 *
 * @param attr valid values:
 * <ul>
 * <li>add: ensure that there is an eof at the end of the file
 * <li>asis: leave eof characters alone
 * <li>remove: remove any eof character found at the end
 * </ul>
 */
public void setEof(AddAsisRemove attr) {
  filter.setEof(FixCrLfFilter.AddAsisRemove.newInstance(attr.getValue()));
}


Clone AbstractionParameter Count: 1Parameter Bindings

/**
     * Specify how DOS EOF (control-z) characters are to be handled.
     *
     * @param attr valid values:
     * <ul>
     * <li>add: ensure that there is an eof at the end of the file
     * <li>asis: leave eof characters alone
     * <li>remove: remove any eof character found at the end
     * </ul>
     */
/**
     * Specify how tab characters are to be handled.
     *
     * @param attr valid values:
     * <ul>
     * <li>add: convert sequences of spaces which span a tab stop to tabs
     * <li>asis: leave tab and space characters alone
     * <li>remove: convert tabs to spaces
     * </ul>
     */
public void [[#variable130e3a40]](AddAsisRemove attr) {
  filter. [[#variable130e3a40]](FixCrLfFilter.AddAsisRemove.newInstance(attr.getValue()));
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#130e3a40]]
setTab 
12[[#130e3a40]]
setEof