mirror of
https://github.com/ysoftdevs/DependencyCheck.git
synced 2026-01-14 15:53:36 +01:00
fixed bug that might contribute to issue #189
This commit is contained in:
@@ -441,8 +441,9 @@ public abstract class BaseDependencyCheckMojo extends AbstractMojo implements Ma
|
||||
}
|
||||
final Object obj = current.getContextValue(getDataFileContextKey());
|
||||
if (obj != null) {
|
||||
if (obj instanceof File) {
|
||||
return (File) obj;
|
||||
if (obj instanceof String) {
|
||||
File f = new File((String) obj);
|
||||
return f;
|
||||
}
|
||||
} else {
|
||||
if (getLog().isDebugEnabled()) {
|
||||
|
||||
Reference in New Issue
Block a user