mirror of
https://github.com/ysoftdevs/DependencyCheck.git
synced 2026-03-29 13:22:12 +02: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;
|
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.
|
* Sets the file path of the dependency.
|
||||||
*
|
*
|
||||||
|
|||||||
Reference in New Issue
Block a user