CloneSet43


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
78210.970class_body_declarations[4]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1781444
E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/org/apache/tools/ant/Project.java
2771537
E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/org/apache/tools/ant/Project.java
Next
Last
Clone Instance
1
Line Count
78
Source Line
1444
Source File
E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/org/apache/tools/ant/Project.java

/**
 * Convenience method to copy a file from a source to a destination.
 * No filtering is performed.
 *
 * @param sourceFile Name of file to copy from.
 *                   Must not be <code>null</code>.
 * @param destFile Name of file to copy to.
 *                 Must not be <code>null</code>.
 *
 * @exception IOException if the copying fails.
 *
 * @deprecated since 1.4.x
 */
public void copyFile(String sourceFile, String destFile) throws IOException {
  FILE_UTILS.copyFile(sourceFile, destFile);
}

/**
 * Convenience method to copy a file from a source to a destination
 * specifying if token filtering should be used.
 *
 * @param sourceFile Name of file to copy from.
 *                   Must not be <code>null</code>.
 * @param destFile Name of file to copy to.
 *                 Must not be <code>null</code>.
 * @param filtering Whether or not token filtering should be used during
 *                  the copy.
 *
 * @exception IOException if the copying fails.
 *
 * @deprecated since 1.4.x
 */
public void copyFile(String sourceFile, String destFile, boolean filtering) throws IOException {
  FILE_UTILS.copyFile(sourceFile, destFile, filtering ? globalFilters: null);
}

/**
 * Convenience method to copy a file from a source to a
 * destination specifying if token filtering should be used and if
 * source files may overwrite newer destination files.
 *
 * @param sourceFile Name of file to copy from.
 *                   Must not be <code>null</code>.
 * @param destFile Name of file to copy to.
 *                 Must not be <code>null</code>.
 * @param filtering Whether or not token filtering should be used during
 *                  the copy.
 * @param overwrite Whether or not the destination file should be
 *                  overwritten if it already exists.
 *
 * @exception IOException if the copying fails.
 *
 * @deprecated since 1.4.x
 */
public void copyFile(String sourceFile, String destFile, boolean filtering, boolean overwrite) throws IOException {
  FILE_UTILS.copyFile(sourceFile, destFile, filtering ? globalFilters: null, overwrite);
}

/**
 * Convenience method to copy a file from a source to a
 * destination specifying if token filtering should be used, if
 * source files may overwrite newer destination files, and if the
 * last modified time of the resulting file should be set to
 * that of the source file.
 *
 * @param sourceFile Name of file to copy from.
 *                   Must not be <code>null</code>.
 * @param destFile Name of file to copy to.
 *                 Must not be <code>null</code>.
 * @param filtering Whether or not token filtering should be used during
 *                  the copy.
 * @param overwrite Whether or not the destination file should be
 *                  overwritten if it already exists.
 * @param preserveLastModified Whether or not the last modified time of
 *                             the resulting file should be set to that
 *                             of the source file.
 *
 * @exception IOException if the copying fails.
 *
 * @deprecated since 1.4.x
 */
public void copyFile(String sourceFile, String destFile, boolean filtering, boolean overwrite, boolean preserveLastModified) throws IOException {
  FILE_UTILS.copyFile(sourceFile, destFile, filtering ? globalFilters: null, overwrite, preserveLastModified);
}


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

/**
 * Convenience method to copy a file from a source to a destination.
 * No filtering is performed.
 *
 * @param sourceFile File to copy from.
 *                   Must not be <code>null</code>.
 * @param destFile File to copy to.
 *                 Must not be <code>null</code>.
 *
 * @exception IOException if the copying fails.
 *
 * @deprecated since 1.4.x
 */
public void copyFile(File sourceFile, File destFile) throws IOException {
  FILE_UTILS.copyFile(sourceFile, destFile);
}

/**
 * Convenience method to copy a file from a source to a destination
 * specifying if token filtering should be used.
 *
 * @param sourceFile File to copy from.
 *                   Must not be <code>null</code>.
 * @param destFile File to copy to.
 *                 Must not be <code>null</code>.
 * @param filtering Whether or not token filtering should be used during
 *                  the copy.
 *
 * @exception IOException if the copying fails.
 *
 * @deprecated since 1.4.x
 */
public void copyFile(File sourceFile, File destFile, boolean filtering) throws IOException {
  FILE_UTILS.copyFile(sourceFile, destFile, filtering ? globalFilters: null);
}

/**
 * Convenience method to copy a file from a source to a
 * destination specifying if token filtering should be used and if
 * source files may overwrite newer destination files.
 *
 * @param sourceFile File to copy from.
 *                   Must not be <code>null</code>.
 * @param destFile File to copy to.
 *                 Must not be <code>null</code>.
 * @param filtering Whether or not token filtering should be used during
 *                  the copy.
 * @param overwrite Whether or not the destination file should be
 *                  overwritten if it already exists.
 *
 * @exception IOException if the file cannot be copied.
 *
 * @deprecated since 1.4.x
 */
public void copyFile(File sourceFile, File destFile, boolean filtering, boolean overwrite) throws IOException {
  FILE_UTILS.copyFile(sourceFile, destFile, filtering ? globalFilters: null, overwrite);
}

/**
 * Convenience method to copy a file from a source to a
 * destination specifying if token filtering should be used, if
 * source files may overwrite newer destination files, and if the
 * last modified time of the resulting file should be set to
 * that of the source file.
 *
 * @param sourceFile File to copy from.
 *                   Must not be <code>null</code>.
 * @param destFile File to copy to.
 *                 Must not be <code>null</code>.
 * @param filtering Whether or not token filtering should be used during
 *                  the copy.
 * @param overwrite Whether or not the destination file should be
 *                  overwritten if it already exists.
 * @param preserveLastModified Whether or not the last modified time of
 *                             the resulting file should be set to that
 *                             of the source file.
 *
 * @exception IOException if the file cannot be copied.
 *
 * @deprecated since 1.4.x
 */
public void copyFile(File sourceFile, File destFile, boolean filtering, boolean overwrite, boolean preserveLastModified) throws IOException {
  FILE_UTILS.copyFile(sourceFile, destFile, filtering ? globalFilters: null, overwrite, preserveLastModified);
}


Clone AbstractionParameter Count: 1Parameter Bindings

/**
     * Convenience method to copy a file from a source to a destination.
     * No filtering is performed.
     *
     * @param sourceFile Name of file to copy from.
     *                   Must not be <code>null</code>.
     * @param destFile Name of file to copy to.
     *                 Must not be <code>null</code>.
     *
     * @exception IOException if the copying fails.
     *
     * @deprecated since 1.4.x
     */
/**
     * Convenience method to copy a file from a source to a destination.
     * No filtering is performed.
     *
     * @param sourceFile File to copy from.
     *                   Must not be <code>null</code>.
     * @param destFile File to copy to.
     *                 Must not be <code>null</code>.
     *
     * @exception IOException if the copying fails.
     *
     * @deprecated since 1.4.x
     */
public void copyFile( [[#variable13195760]] sourceFile, [[#variable13195760]] destFile) throws IOException {
  FILE_UTILS.copyFile(sourceFile, destFile);
}

/**
     * Convenience method to copy a file from a source to a destination
     * specifying if token filtering should be used.
     *
     * @param sourceFile Name of file to copy from.
     *                   Must not be <code>null</code>.
     * @param destFile Name of file to copy to.
     *                 Must not be <code>null</code>.
     * @param filtering Whether or not token filtering should be used during
     *                  the copy.
     *
     * @exception IOException if the copying fails.
     *
     * @deprecated since 1.4.x
     */
/**
     * Convenience method to copy a file from a source to a destination
     * specifying if token filtering should be used.
     *
     * @param sourceFile File to copy from.
     *                   Must not be <code>null</code>.
     * @param destFile File to copy to.
     *                 Must not be <code>null</code>.
     * @param filtering Whether or not token filtering should be used during
     *                  the copy.
     *
     * @exception IOException if the copying fails.
     *
     * @deprecated since 1.4.x
     */
public void copyFile( [[#variable13195760]] sourceFile, [[#variable13195760]] destFile, boolean filtering) throws IOException {
  FILE_UTILS.copyFile(sourceFile, destFile, filtering ? globalFilters: null);
}

/**
     * Convenience method to copy a file from a source to a
     * destination specifying if token filtering should be used and if
     * source files may overwrite newer destination files.
     *
     * @param sourceFile Name of file to copy from.
     *                   Must not be <code>null</code>.
     * @param destFile Name of file to copy to.
     *                 Must not be <code>null</code>.
     * @param filtering Whether or not token filtering should be used during
     *                  the copy.
     * @param overwrite Whether or not the destination file should be
     *                  overwritten if it already exists.
     *
     * @exception IOException if the copying fails.
     *
     * @deprecated since 1.4.x
     */
/**
     * Convenience method to copy a file from a source to a
     * destination specifying if token filtering should be used and if
     * source files may overwrite newer destination files.
     *
     * @param sourceFile File to copy from.
     *                   Must not be <code>null</code>.
     * @param destFile File to copy to.
     *                 Must not be <code>null</code>.
     * @param filtering Whether or not token filtering should be used during
     *                  the copy.
     * @param overwrite Whether or not the destination file should be
     *                  overwritten if it already exists.
     *
     * @exception IOException if the file cannot be copied.
     *
     * @deprecated since 1.4.x
     */
public void copyFile( [[#variable13195760]] sourceFile, [[#variable13195760]] destFile, boolean filtering, boolean overwrite) throws IOException {
  FILE_UTILS.copyFile(sourceFile, destFile, filtering ? globalFilters: null, overwrite);
}

/**
     * Convenience method to copy a file from a source to a
     * destination specifying if token filtering should be used, if
     * source files may overwrite newer destination files, and if the
     * last modified time of the resulting file should be set to
     * that of the source file.
     *
     * @param sourceFile Name of file to copy from.
     *                   Must not be <code>null</code>.
     * @param destFile Name of file to copy to.
     *                 Must not be <code>null</code>.
     * @param filtering Whether or not token filtering should be used during
     *                  the copy.
     * @param overwrite Whether or not the destination file should be
     *                  overwritten if it already exists.
     * @param preserveLastModified Whether or not the last modified time of
     *                             the resulting file should be set to that
     *                             of the source file.
     *
     * @exception IOException if the copying fails.
     *
     * @deprecated since 1.4.x
     */
/**
     * Convenience method to copy a file from a source to a
     * destination specifying if token filtering should be used, if
     * source files may overwrite newer destination files, and if the
     * last modified time of the resulting file should be set to
     * that of the source file.
     *
     * @param sourceFile File to copy from.
     *                   Must not be <code>null</code>.
     * @param destFile File to copy to.
     *                 Must not be <code>null</code>.
     * @param filtering Whether or not token filtering should be used during
     *                  the copy.
     * @param overwrite Whether or not the destination file should be
     *                  overwritten if it already exists.
     * @param preserveLastModified Whether or not the last modified time of
     *                             the resulting file should be set to that
     *                             of the source file.
     *
     * @exception IOException if the file cannot be copied.
     *
     * @deprecated since 1.4.x
     */
public void copyFile( [[#variable13195760]] sourceFile, [[#variable13195760]] destFile, boolean filtering, boolean overwrite, boolean preserveLastModified) throws IOException {
  FILE_UTILS.copyFile(sourceFile, destFile, filtering ? globalFilters: null, overwrite, preserveLastModified);
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#13195760]]
String 
12[[#13195760]]
File