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