private static Path getConfigFilePath(Path projectPath) {
        String pathString = SystemProperty.CONFIGURATION_FILE.value();
        Path path;
        if (pathString == null) {
            path = DEFAULT_CONFIG_FILE;
        } else {
            path = Paths.get(pathString);
        }
        return projectPath.resolve(path);
    }
private static Path getConfigFilePath ( Path projectPath ) { String pathString = SystemProperty . CONFIGURATION_FILE . value ( ) ; Path path ; if ( pathString == null ) { path = DEFAULT_CONFIG_FILE ; } else { path = Paths . get ( pathString ) ; } return projectPath . resolve ( path ) ; }
Check if the JVM argument "-Dgrakn.conf" (which represents the path to the config file to use) is set.
If it is not set, it sets it to the default one.