diff --git a/dependency-check-core/src/main/java/org/owasp/dependencycheck/data/cpe/Index.java b/dependency-check-core/src/main/java/org/owasp/dependencycheck/data/cpe/Index.java index 9c1563ac3..d63a7a189 100644 --- a/dependency-check-core/src/main/java/org/owasp/dependencycheck/data/cpe/Index.java +++ b/dependency-check-core/src/main/java/org/owasp/dependencycheck/data/cpe/Index.java @@ -65,7 +65,7 @@ public class Index extends AbstractIndex { * @return the data directory for this index. * @throws IOException is thrown if an IOException occurs of course... */ - public File getDataDirectory() throws IOException { + public static File getDataDirectory() throws IOException { final File path = Settings.getFile(Settings.KEYS.CPE_DATA_DIRECTORY); if (!path.exists()) { if (!path.mkdirs()) {