fix: use ROOT_FOLDER_ID inline

This commit is contained in:
Manuel Jenny 2021-03-18 20:47:56 +01:00
parent eba5ab6a4c
commit d9d88df49a
No known key found for this signature in database
GPG Key ID: 1C80FE62B2BEAA18

View File

@ -8,10 +8,9 @@ import org.cryptomator.domain.PCloud;
class RootPCloudFolder extends PCloudFolder {
private final PCloud cloud;
private static final long rootFolderId = RemoteFolder.ROOT_FOLDER_ID;
public RootPCloudFolder(PCloud cloud) {
super(null, "", "", rootFolderId);
super(null, "", "", (long) RemoteFolder.ROOT_FOLDER_ID);
this.cloud = cloud;
}