mirror of
https://github.com/ysoftdevs/DependencyCheck.git
synced 2026-01-14 07:43:40 +01:00
added back in scan methods that were removed by mistake
Former-commit-id: c4a26c76c2668a2b635f361a55d3c840a842f6f7
This commit is contained in:
@@ -183,32 +183,34 @@ public class Engine {
|
||||
}
|
||||
}
|
||||
|
||||
// /**
|
||||
// * Scans an array of files or directories. If a directory is specified, it will be scanned recursively. Any
|
||||
// * dependencies identified are added to the dependency collection.
|
||||
// *
|
||||
// * @since v0.3.2.5
|
||||
// *
|
||||
// * @param files an array of paths to files or directories to be analyzed.
|
||||
// */
|
||||
// public void scan(File[] files) {
|
||||
// for (File file : files) {
|
||||
// scan(file);
|
||||
// }
|
||||
// }
|
||||
// /**
|
||||
// * Scans a list of files or directories. If a directory is specified, it will be scanned recursively. Any
|
||||
// * dependencies identified are added to the dependency collection.
|
||||
// *
|
||||
// * @since v0.3.2.5
|
||||
// *
|
||||
// * @param files a set of paths to files or directories to be analyzed.
|
||||
// */
|
||||
// public void scan(Set<File> files) {
|
||||
// for (File file : files) {
|
||||
// scan(file);
|
||||
// }
|
||||
// }
|
||||
/**
|
||||
* Scans an array of files or directories. If a directory is specified, it will be scanned recursively. Any
|
||||
* dependencies identified are added to the dependency collection.
|
||||
*
|
||||
* @since v0.3.2.5
|
||||
*
|
||||
* @param files an array of paths to files or directories to be analyzed.
|
||||
*/
|
||||
public void scan(File[] files) {
|
||||
for (File file : files) {
|
||||
scan(file);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Scans a list of files or directories. If a directory is specified, it will be scanned recursively. Any
|
||||
* dependencies identified are added to the dependency collection.
|
||||
*
|
||||
* @since v0.3.2.5
|
||||
*
|
||||
* @param files a set of paths to files or directories to be analyzed.
|
||||
*/
|
||||
public void scan(Set<File> files) {
|
||||
for (File file : files) {
|
||||
scan(file);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Scans a list of files or directories. If a directory is specified, it will be scanned recursively. Any
|
||||
* dependencies identified are added to the dependency collection.
|
||||
|
||||
Reference in New Issue
Block a user