From 9b89eecab511d83bb963692bee3aaa9e4193454d Mon Sep 17 00:00:00 2001 From: Bruno Chevalier Date: Mon, 31 Aug 2020 13:50:23 +0200 Subject: [PATCH] S3Uploader.java: Remove redundant null check --- Mage.Client/src/main/java/mage/client/remote/S3Uploader.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Mage.Client/src/main/java/mage/client/remote/S3Uploader.java b/Mage.Client/src/main/java/mage/client/remote/S3Uploader.java index 95be10c267..85968f6ea0 100644 --- a/Mage.Client/src/main/java/mage/client/remote/S3Uploader.java +++ b/Mage.Client/src/main/java/mage/client/remote/S3Uploader.java @@ -21,7 +21,7 @@ public class S3Uploader { if (accessKeyId == null || accessKeyId.isEmpty() || secretKeyId == null || secretKeyId.isEmpty() - || existingBucketName == null || existingBucketName.isEmpty()) { + || existingBucketName.isEmpty()) { logger.info("Aborting json log sync."); return false; }