whitespace
This commit is contained in:
parent
b894978f92
commit
be5b64789a
@ -20,7 +20,7 @@ public class ServerFactory implements Function<JsonObject, Server> {
|
||||
.orElse("webdav");
|
||||
|
||||
if (type.equals("webdav")) {
|
||||
return makeWebDavServer(object);
|
||||
return makeWebDavServer(object);
|
||||
} else if (type.equalsIgnoreCase("gofile")) {
|
||||
return new GoFileServer(Optional.ofNullable(object.getAsJsonPrimitive("label")).map(JsonPrimitive::getAsString).orElse("GoFile"));
|
||||
} else if (type.equalsIgnoreCase("ftp")) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user