Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
2 | 2 | 1 | 0.953 | method_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 2 | 208 | E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/org/apache/tools/ant/taskdefs/FixCRLF.java |
2 | 2 | 236 | 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())); } |
| |||||
/** * 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())); } |
| |||
/** * 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 Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#130e3a40]] | setTab |
1 | 2 | [[#130e3a40]] | setEof |