Loading app/src/main/java/foundation/e/drive/operations/UploadFileOperation.java +2 −2 Original line number Diff line number Diff line Loading @@ -85,13 +85,13 @@ public class UploadFileOperation extends RemoteOperation { return new RemoteOperationResult(ResultCode.SYNC_CONFLICT); } Double relativeQuotaBeforeFileUpload = 0.0; Float relativeQuotaBeforeFileUpload = 0.0f; if (this.availableQuota == -1) { RemoteOperationResult checkQuotaResult = checkAvailableSpace(client, file.length()); if (checkQuotaResult.getCode() != ResultCode.OK) { return new RemoteOperationResult(checkQuotaResult.getCode()); }else{ relativeQuotaBeforeFileUpload = (Double) checkQuotaResult.getSingleData(); relativeQuotaBeforeFileUpload = ((Double) checkQuotaResult.getSingleData()).floatValue(); } } Loading Loading
app/src/main/java/foundation/e/drive/operations/UploadFileOperation.java +2 −2 Original line number Diff line number Diff line Loading @@ -85,13 +85,13 @@ public class UploadFileOperation extends RemoteOperation { return new RemoteOperationResult(ResultCode.SYNC_CONFLICT); } Double relativeQuotaBeforeFileUpload = 0.0; Float relativeQuotaBeforeFileUpload = 0.0f; if (this.availableQuota == -1) { RemoteOperationResult checkQuotaResult = checkAvailableSpace(client, file.length()); if (checkQuotaResult.getCode() != ResultCode.OK) { return new RemoteOperationResult(checkQuotaResult.getCode()); }else{ relativeQuotaBeforeFileUpload = (Double) checkQuotaResult.getSingleData(); relativeQuotaBeforeFileUpload = ((Double) checkQuotaResult.getSingleData()).floatValue(); } } Loading