CloneSet864


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
16201.000class_body_declarations[2]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1161032
E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/org/apache/tools/ant/taskdefs/optional/scm/AntStarTeamCheckOut.java
216262
E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/org/apache/tools/ant/taskdefs/optional/starteam/TreeBasedTask.java
Next
Last
Clone Instance
1
Line Count
16
Source Line
1032
Source File
E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/org/apache/tools/ant/taskdefs/optional/scm/AntStarTeamCheckOut.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;
}


First
Previous
Clone Instance
2
Line Count
16
Source Line
262
Source File
E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/org/apache/tools/ant/taskdefs/optional/starteam/TreeBasedTask.java

/**
 * 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;
}


Clone AbstractionParameter Count: 0Parameter Bindings

/**
     * 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 Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
None