CPD Results
The following document contains the results of PMD's CPD 6.21.0.
Duplications
| File | Line |
|---|---|
| gov/nist/secauto/swid/plugin/SwidContainerDescriptorHandler.java | 104 |
| gov/nist/secauto/swid/plugin/SwidGenerateMojo.java | 139 |
public String[] getIncludes() {
List<String> retval;
if (includes != null && !includes.isEmpty()) {
retval = includes;
} else {
retval = DEFAULT_INCLUDES;
}
return retval.toArray(new String[retval.size()]);
}
/**
* Get the set of exscluded files.
*
* @return the excludes
*/
public String[] getExcludes() {
List<String> retval;
if (excludes != null && !excludes.isEmpty()) {
retval = excludes;
} else {
retval = Collections.emptyList();
}
return retval.toArray(new String[retval.size()]);
}
/**
* Retrieves the directory to write the tag to when building it.
*
* @return a file representing the tag output location
*/
public File getTagOutputDirectory() {
|
|