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.982 | method_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 2 | 162 | E:/TSE/Projects-CloneDR/sql12/app/src/net/sourceforge/squirrel_sql/client/update/UpdateUtil.java |
2 | 2 | 196 | E:/TSE/Projects-CloneDR/sql12/app/src/net/sourceforge/squirrel_sql/client/update/UpdateUtil.java |
| |||||
/** * Lists the specified fromDir and moves all of the files found in that directory that match the specified * filePattern to the specified toDir * directory. * * @param fromDir * the directory to copy files from * @param toDir * the directory to copy files to * @throws FileNotFoundException * @throws IOException */ void moveFiles( final FileWrapper fromDir, final String filePattern, boolean matchPattern, final FileWrapper toDir) throws FileNotFoundException, IOException; |
| |||||
/** * Lists the specified fromDir and copies all of the files found in that directory to the specified toDir * directory. * * @param fromDir * the directory to copy files from * @param filePattern * the pattern against which to compare the name of the file * @param matchPattern * a boolean value indicating whether or not to match the specified file pattern. If true, then * only filenames that match the pattern are copied. If false, the only filenames that do not * match the pattern are copied. * @param toDir * the directory to copy files to * @throws FileNotFoundException * @throws IOException */ void copyDir( final FileWrapper fromDir, final String filePattern, boolean matchPattern, final FileWrapper toDir) throws FileNotFoundException, IOException; |
| |||
/** * Lists the specified fromDir and moves all of the files found in that directory that match the specified * filePattern to the specified toDir * directory. * * @param fromDir * the directory to copy files from * @param toDir * the directory to copy files to * @throws FileNotFoundException * @throws IOException */ /** * Lists the specified fromDir and copies all of the files found in that directory to the specified toDir * directory. * * @param fromDir * the directory to copy files from * @param filePattern * the pattern against which to compare the name of the file * @param matchPattern * a boolean value indicating whether or not to match the specified file pattern. If true, then * only filenames that match the pattern are copied. If false, the only filenames that do not * match the pattern are copied. * @param toDir * the directory to copy files to * @throws FileNotFoundException * @throws IOException */ void [[#variable1c8cc9e0]]( final FileWrapper fromDir, final String filePattern, boolean matchPattern, final FileWrapper toDir) throws FileNotFoundException, IOException; |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#1c8cc9e0]] | moveFiles |
1 | 2 | [[#1c8cc9e0]] | copyDir |