mirror of
https://github.com/ysoftdevs/DependencyCheck.git
synced 2026-01-16 08:36:55 +01:00
added getActualFile() to return a file reference
Former-commit-id: 8345595a53974056e692888cda5fb37adb159fd5
This commit is contained in:
@@ -145,6 +145,15 @@ public class Dependency implements Comparable<Dependency> {
|
||||
return this.actualFilePath;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets a reference to the File object.
|
||||
*
|
||||
* @return the File object.
|
||||
*/
|
||||
public File getActualFile() {
|
||||
return new File(this.actualFilePath);
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the file path of the dependency.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user