Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
16 | 2 | 0 | 1.000 | class_body_declarations[2] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 16 | 1032 | E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/org/apache/tools/ant/taskdefs/optional/scm/AntStarTeamCheckOut.java |
2 | 16 | 262 | E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/org/apache/tools/ant/taskdefs/optional/starteam/TreeBasedTask.java |
| |||||
/** * Sets the exclude filter. When filtering files, AntStarTeamCheckOut uses * an unmodified version of <CODE>DirectoryScanner</CODE>'s <CODE>match</CODE> * method, so here are the patterns straight from the Ant source code: * <BR> * <BR> * Matches a string against a pattern. The pattern contains two special * characters: <BR> * '*' which means zero or more characters, <BR> * '?' which means one and only one character. <BR> * <BR> * Separate multiple exlcude filters by <I>spaces</I> , not commas as Ant * uses. For example, if you want to check out all files except .XML and * .HTML files, you would put the following line in your program: * <CODE>setExcludes("*.XML *.HTML");</CODE> * Finally, note that filters have no effect on the <B>directories</B> * that are scanned; you could not skip over all files in directories * whose names begin with "project," for instance. <BR> * <BR> * Treatment of overlapping inlcudes and excludes: To give a simplistic * example suppose that you set your include filter to "*.htm *.html" and * your exclude filter to "index.*". What happens to index.html? * AntStarTeamCheckOut will not check out index.html, as it matches an * exclude filter ("index.*"), even though it matches the include filter, * as well. <BR> * <BR> * Please also read the following sections before using filters: * * @param excludes A string of filter patterns to exclude. Separate the * patterns by spaces. * @see #setIncludes(String includes) * @see #getIncludes() * @see #getExcludes() */ public void setExcludes(String excludes) { this.excludes = excludes; } /** * Gets the patterns from the exclude filter. Rather that duplicate the * details of AntStarTeanCheckOut's filtering here, refer to these links: * * @return A string of filter patterns separated by spaces. * @see #setExcludes(String excludes) * @see #setIncludes(String includes) * @see #getIncludes() */ public String getExcludes() { return excludes; } |
| |||||
/** * Declare files to exclude using standard <tt>excludes</tt> patterns; optional. * When filtering files, AntStarTeamCheckOut * uses an unmodified version of <code>DirectoryScanner</code>'s * <code>match</code> method, so here are the patterns straight from the * Ant source code: * <br/> * Matches a string against a pattern. The pattern contains two special * characters: * <br/>'*' which means zero or more characters, * <br/>'?' which means one and only one character. * <br/> * For example, if you want to check out all files except .XML and * .HTML files, you would put the following line in your program: * <code>setExcludes("*.XML,*.HTML");</code> * Finally, note that filters have no effect on the <b>directories</b> * that are scanned; you could not skip over all files in directories * whose names begin with "project," for instance. * <br/> * Treatment of overlapping inlcudes and excludes: To give a simplistic * example suppose that you set your include filter to "*.htm *.html" * and your exclude filter to "index.*". What happens to index.html? * AntStarTeamCheckOut will not check out index.html, as it matches an * exclude filter ("index.*"), even though it matches the include * filter, as well. * <br/> * Please also read the following sections before using filters: * * @param excludes A string of filter patterns to exclude. Separate the * patterns by spaces. * @see #setIncludes(String includes) * @see #getIncludes() * @see #getExcludes() */ public void setExcludes(String excludes) { this.excludes = excludes; } /** * Gets the patterns from the exclude filter. Rather that duplicate the * details of AntStarTeanCheckOut's filtering here, refer to these * links: * * @return A string of filter patterns separated by spaces. * @see #setExcludes(String excludes) * @see #setIncludes(String includes) * @see #getIncludes() */ public String getExcludes() { return excludes; } |
| |||
/** * Declare files to exclude using standard <tt>excludes</tt> patterns; optional. * When filtering files, AntStarTeamCheckOut * uses an unmodified version of <code>DirectoryScanner</code>'s * <code>match</code> method, so here are the patterns straight from the * Ant source code: * <br/> * Matches a string against a pattern. The pattern contains two special * characters: * <br/>'*' which means zero or more characters, * <br/>'?' which means one and only one character. * <br/> * For example, if you want to check out all files except .XML and * .HTML files, you would put the following line in your program: * <code>setExcludes("*.XML,*.HTML");</code> * Finally, note that filters have no effect on the <b>directories</b> * that are scanned; you could not skip over all files in directories * whose names begin with "project," for instance. * <br/> * Treatment of overlapping inlcudes and excludes: To give a simplistic * example suppose that you set your include filter to "*.htm *.html" * and your exclude filter to "index.*". What happens to index.html? * AntStarTeamCheckOut will not check out index.html, as it matches an * exclude filter ("index.*"), even though it matches the include * filter, as well. * <br/> * Please also read the following sections before using filters: * * @param excludes A string of filter patterns to exclude. Separate the * patterns by spaces. * @see #setIncludes(String includes) * @see #getIncludes() * @see #getExcludes() */ /** * Sets the exclude filter. When filtering files, AntStarTeamCheckOut uses * an unmodified version of <CODE>DirectoryScanner</CODE>'s <CODE>match</CODE> * method, so here are the patterns straight from the Ant source code: * <BR> * <BR> * Matches a string against a pattern. The pattern contains two special * characters: <BR> * '*' which means zero or more characters, <BR> * '?' which means one and only one character. <BR> * <BR> * Separate multiple exlcude filters by <I>spaces</I> , not commas as Ant * uses. For example, if you want to check out all files except .XML and * .HTML files, you would put the following line in your program: * <CODE>setExcludes("*.XML *.HTML");</CODE> * Finally, note that filters have no effect on the <B>directories</B> * that are scanned; you could not skip over all files in directories * whose names begin with "project," for instance. <BR> * <BR> * Treatment of overlapping inlcudes and excludes: To give a simplistic * example suppose that you set your include filter to "*.htm *.html" and * your exclude filter to "index.*". What happens to index.html? * AntStarTeamCheckOut will not check out index.html, as it matches an * exclude filter ("index.*"), even though it matches the include filter, * as well. <BR> * <BR> * Please also read the following sections before using filters: * * @param excludes A string of filter patterns to exclude. Separate the * patterns by spaces. * @see #setIncludes(String includes) * @see #getIncludes() * @see #getExcludes() */ public void setExcludes(String excludes) { this.excludes = excludes; } /** * Gets the patterns from the exclude filter. Rather that duplicate the * details of AntStarTeanCheckOut's filtering here, refer to these * links: * * @return A string of filter patterns separated by spaces. * @see #setExcludes(String excludes) * @see #setIncludes(String includes) * @see #getIncludes() */ /** * Gets the patterns from the exclude filter. Rather that duplicate the * details of AntStarTeanCheckOut's filtering here, refer to these links: * * @return A string of filter patterns separated by spaces. * @see #setExcludes(String excludes) * @see #setIncludes(String includes) * @see #getIncludes() */ public String getExcludes() { return excludes; } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
None |