- public static PathConfig createDefault(final String settingsPath) {
- return new PathConfig(
- settingsPath + "/data",
- settingsPath + "/attachments",
- settingsPath + "/avatars"
- );
+ public static PathConfig createDefault(final File settingsPath) {
+ return new PathConfig(new File(settingsPath, "data"),
+ new File(settingsPath, "attachments"),
+ new File(settingsPath, "avatars"));