Refactoring

This commit is contained in:
Sergey Chebotar 2021-12-06 19:52:34 +03:00
parent abfd03be7a
commit 4743aa706e
2 changed files with 0 additions and 4 deletions

View File

@ -28,7 +28,6 @@ namespace Rehau.Sku.Assist
return GetProduct(documentTask.Result); return GetProduct(documentTask.Result);
} }
public static IProduct GetProduct(IDocument document) public static IProduct GetProduct(IDocument document)
{ {
string script = document string script = document
@ -53,7 +52,6 @@ namespace Rehau.Sku.Assist
return product; return product;
} }
public static object GetProduct(string request, ProductField field) public static object GetProduct(string request, ProductField field)
{ {
IProduct product; IProduct product;
@ -94,7 +92,6 @@ namespace Rehau.Sku.Assist
return ExcelError.ExcelErrorValue; return ExcelError.ExcelErrorValue;
} }
} }
public static bool IsRehauSku(this string line) public static bool IsRehauSku(this string line)
{ {
return Regex.IsMatch(line, @"\d{11}") && return Regex.IsMatch(line, @"\d{11}") &&

View File

@ -2,7 +2,6 @@
using ExcelDna.Registration; using ExcelDna.Registration;
using Microsoft.Win32; using Microsoft.Win32;
using System.Net.Http; using System.Net.Http;
using System.IO;
namespace Rehau.Sku.Assist namespace Rehau.Sku.Assist
{ {