mirror of
https://github.com/ysoftdevs/DependencyCheck.git
synced 2026-03-24 10:01:35 +01:00
added back in scan methods that were removed by mistake
Former-commit-id: 043ae5b2fd012f06f107e1f46f50bc7157bba858
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
|
* 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.
|
* dependencies identified are added to the dependency collection.
|
||||||
// *
|
*
|
||||||
// * @since v0.3.2.5
|
* @since v0.3.2.5
|
||||||
// *
|
*
|
||||||
// * @param files an array of paths to files or directories to be analyzed.
|
* @param files an array of paths to files or directories to be analyzed.
|
||||||
// */
|
*/
|
||||||
// public void scan(File[] files) {
|
public void scan(File[] files) {
|
||||||
// for (File file : files) {
|
for (File file : files) {
|
||||||
// scan(file);
|
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.
|
* 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
|
*
|
||||||
// *
|
* @since v0.3.2.5
|
||||||
// * @param files a set of paths to files or directories to be analyzed.
|
*
|
||||||
// */
|
* @param files a set of paths to files or directories to be analyzed.
|
||||||
// public void scan(Set<File> files) {
|
*/
|
||||||
// for (File file : files) {
|
public void scan(Set<File> files) {
|
||||||
// scan(file);
|
for (File file : files) {
|
||||||
// }
|
scan(file);
|
||||||
// }
|
}
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Scans a list of files or directories. If a directory is specified, it will be scanned recursively. Any
|
* 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.
|
* dependencies identified are added to the dependency collection.
|
||||||
|
|||||||
Reference in New Issue
Block a user