mirror of
https://github.com/ysoftdevs/DependencyCheck.git
synced 2026-03-23 09:31:32 +01:00
added getActualFile() to return a file reference
Former-commit-id: 0c04828262c08a962766240275afb340293bd0dd
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