From af9762c5c5b3a7307fa085e9c117a86491979eea Mon Sep 17 00:00:00 2001 From: Aditya Narayan Date: Fri, 24 Nov 2023 15:10:29 +0530 Subject: [PATCH] making the method static --- src/LCT.APICommunications/JfrogAqlApiCommunication.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/LCT.APICommunications/JfrogAqlApiCommunication.cs b/src/LCT.APICommunications/JfrogAqlApiCommunication.cs index 2cabb3f1..00777c05 100644 --- a/src/LCT.APICommunications/JfrogAqlApiCommunication.cs +++ b/src/LCT.APICommunications/JfrogAqlApiCommunication.cs @@ -104,7 +104,7 @@ private static HttpClient GetHttpClient(ArtifactoryCredentials credentials) return httpClient; } - private void ValidateParameters(string packageName, string path) + private static void ValidateParameters(string packageName, string path) { if (string.IsNullOrEmpty(packageName) && string.IsNullOrEmpty(path)) { @@ -112,7 +112,7 @@ private void ValidateParameters(string packageName, string path) } } - private string BuildAqlQuery(string repoName, string packageName, string path) + private static string BuildAqlQuery(string repoName, string packageName, string path) { var queryList = new List() {