mirror of
https://github.com/ysoftdevs/DependencyCheck.git
synced 2026-01-14 07:43:40 +01:00
made getDataDirectory static
Former-commit-id: b347a95eb968ae49fb7a904c4a8ed5d7a00e85dd
This commit is contained in:
@@ -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()) {
|
||||
|
||||
Reference in New Issue
Block a user