From 459b170cf3b152032f40bfe3124a94a690a4970b Mon Sep 17 00:00:00 2001 From: sfc-gh-ext-simba-lf <115584722+sfc-gh-ext-simba-lf@users.noreply.github.com> Date: Wed, 18 Oct 2023 10:32:57 -0700 Subject: [PATCH] SNOW-723810: Add coverage for StorageClient (#785) ### Description Regarding issue 113 The PR removes unused code in the StorageClient ### Checklist - [x] Code compiles correctly - [x] Code is formatted according to [Coding Conventions](../CodingConventions.md) - [x] Created tests which fail without the change (if possible) - [x] All tests passing (`dotnet test`) - [x] Extended the README / documentation, if necessary - [x] Provide JIRA issue id (if possible) or GitHub issue id in PR name --- .../StorageClient/SFStorageClientUtil.cs | 39 ------------------- 1 file changed, 39 deletions(-) delete mode 100644 Snowflake.Data/Core/FileTransfer/StorageClient/SFStorageClientUtil.cs diff --git a/Snowflake.Data/Core/FileTransfer/StorageClient/SFStorageClientUtil.cs b/Snowflake.Data/Core/FileTransfer/StorageClient/SFStorageClientUtil.cs deleted file mode 100644 index c7d474080..000000000 --- a/Snowflake.Data/Core/FileTransfer/StorageClient/SFStorageClientUtil.cs +++ /dev/null @@ -1,39 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Text; - -namespace Snowflake.Data.Core.FileTransfer.StorageClient -{ - class SFStorageClientUtil - { - /// - /// The bad request error code. - /// - public static readonly string BAD_REQUEST_ERR = "400"; - - /// - /// The unauthorized error code. - /// - public static readonly string UNAUTHORIZED_ERR = "401"; - - /// - /// The forbidden error code. - /// - public static readonly string FORBIDDEN_ERR = "403"; - - /// - /// The not found error code. - /// - public static readonly string NOT_FOUND_ERR = "404"; - - /// - /// The internal server error code. - /// - public static readonly string INTERNAL_SERVER_ERR = "500"; - - /// - /// The server unavailable error code. - /// - public static readonly string SERVER_UNAVAILABLE_ERR = "503"; - } -}