I am not following :) Maybe I wasn't too clear. Your change is good, I would just do this instead:

```
Settings settings = ImmutableSettings.settingsBuilder().put("path.conf", this.getResource("config").getPath()).build();
```

the change is only cosmetic but this way we call `File#getPath` explicitly, otherwise we call [File#toString here](https://github.com/elasticsearch/elasticsearch/blob/master/src/main/java/org/elasticsearch/common/settings/ImmutableSettings.java#L688), which calls anyway `getPath` internally. What do you think?