diff --git a/src/main/java/io/weaviate/client/v1/async/backup/api/BackupCanceler.java b/src/main/java/io/weaviate/client/v1/async/backup/api/BackupCanceler.java index 3e9abada..1d2fb931 100644 --- a/src/main/java/io/weaviate/client/v1/async/backup/api/BackupCanceler.java +++ b/src/main/java/io/weaviate/client/v1/async/backup/api/BackupCanceler.java @@ -59,10 +59,10 @@ public Future> run(FutureCallback> callback) { String path = String.format("/backups/%s/%s", UrlEncoder.encodePathParam(backend), UrlEncoder.encodePathParam(backupId)); List queryParams = new ArrayList<>(); - if (this.bucket != null){ + if (this.bucket != null) { queryParams.add(UrlEncoder.encodeQueryParam("bucket", this.bucket)); } - if (this.backupPath != null){ + if (this.backupPath != null) { queryParams.add(UrlEncoder.encodeQueryParam("path", this.backupPath)); } diff --git a/src/main/java/io/weaviate/client/v1/async/backup/api/BackupCreateStatusGetter.java b/src/main/java/io/weaviate/client/v1/async/backup/api/BackupCreateStatusGetter.java index fbe6e1fa..32c65572 100644 --- a/src/main/java/io/weaviate/client/v1/async/backup/api/BackupCreateStatusGetter.java +++ b/src/main/java/io/weaviate/client/v1/async/backup/api/BackupCreateStatusGetter.java @@ -53,10 +53,10 @@ public Future> run(FutureCallback queryParams = new ArrayList<>(); - if (this.bucket != null){ + if (this.bucket != null) { queryParams.add(UrlEncoder.encodeQueryParam("bucket", this.bucket)); } - if (this.backupPath != null){ + if (this.backupPath != null) { queryParams.add(UrlEncoder.encodeQueryParam("path", this.backupPath)); } diff --git a/src/main/java/io/weaviate/client/v1/async/backup/api/BackupRestoreStatusGetter.java b/src/main/java/io/weaviate/client/v1/async/backup/api/BackupRestoreStatusGetter.java index de269915..e1331cb0 100644 --- a/src/main/java/io/weaviate/client/v1/async/backup/api/BackupRestoreStatusGetter.java +++ b/src/main/java/io/weaviate/client/v1/async/backup/api/BackupRestoreStatusGetter.java @@ -53,10 +53,10 @@ public Future> run(FutureCallback queryParams = new ArrayList<>(); - if (this.bucket != null){ + if (this.bucket != null) { queryParams.add(UrlEncoder.encodeQueryParam("bucket", this.bucket)); } - if (this.backupPath != null){ + if (this.backupPath != null) { queryParams.add(UrlEncoder.encodeQueryParam("path", this.backupPath)); } diff --git a/src/main/java/io/weaviate/client/v1/backup/api/BackupCanceler.java b/src/main/java/io/weaviate/client/v1/backup/api/BackupCanceler.java index 362c6fe0..15d8890a 100644 --- a/src/main/java/io/weaviate/client/v1/backup/api/BackupCanceler.java +++ b/src/main/java/io/weaviate/client/v1/backup/api/BackupCanceler.java @@ -57,10 +57,10 @@ private String path() { String path = String.format("/backups/%s/%s", backend, backupId); List queryParams = new ArrayList<>(); - if (this.bucket != null){ + if (this.bucket != null) { queryParams.add(UrlEncoder.encodeQueryParam("bucket", this.bucket)); } - if (this.backupPath != null){ + if (this.backupPath != null) { queryParams.add(UrlEncoder.encodeQueryParam("path", this.backupPath)); } diff --git a/src/main/java/io/weaviate/client/v1/backup/api/BackupCreateStatusGetter.java b/src/main/java/io/weaviate/client/v1/backup/api/BackupCreateStatusGetter.java index 03af6b4e..b8d59dd8 100644 --- a/src/main/java/io/weaviate/client/v1/backup/api/BackupCreateStatusGetter.java +++ b/src/main/java/io/weaviate/client/v1/backup/api/BackupCreateStatusGetter.java @@ -56,10 +56,10 @@ private String path() { String path = String.format("/backups/%s/%s", backend, backupId); List queryParams = new ArrayList<>(); - if (this.bucket != null){ + if (this.bucket != null) { queryParams.add(UrlEncoder.encodeQueryParam("bucket", this.bucket)); } - if (this.backupPath != null){ + if (this.backupPath != null) { queryParams.add(UrlEncoder.encodeQueryParam("path", this.backupPath)); } diff --git a/src/main/java/io/weaviate/client/v1/backup/api/BackupRestoreStatusGetter.java b/src/main/java/io/weaviate/client/v1/backup/api/BackupRestoreStatusGetter.java index bc211a6f..3807d4a4 100644 --- a/src/main/java/io/weaviate/client/v1/backup/api/BackupRestoreStatusGetter.java +++ b/src/main/java/io/weaviate/client/v1/backup/api/BackupRestoreStatusGetter.java @@ -56,10 +56,10 @@ private String path() { String path = String.format("/backups/%s/%s/restore", backend, backupId); List queryParams = new ArrayList<>(); - if (this.bucket != null){ + if (this.bucket != null) { queryParams.add(UrlEncoder.encodeQueryParam("bucket", this.bucket)); } - if (this.backupPath != null){ + if (this.backupPath != null) { queryParams.add(UrlEncoder.encodeQueryParam("path", this.backupPath)); }