Skip to content

Commit 17c2f94

Browse files
committed
Ran code clean up
1 parent 5eb6042 commit 17c2f94

File tree

5 files changed

+8
-5
lines changed

5 files changed

+8
-5
lines changed

PxWeb.UnitTests/PxFile/FileProcessingUtilsTests.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
using System.Collections.Specialized;
2+
23
using PxWeb.Code.PxFile;
34

45
namespace PxWeb.UnitTests.PxFile

PxWeb.UnitTests/PxFile/MetaEntryBuilderTests.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
using System;
2+
23
using PxWeb.Code.PxFile;
34

45
namespace PxWeb.UnitTests.PxFile

PxWeb/Code/PxFile/MetaEntryBuilder.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ public struct EntryKeyParseResult(string keyWord, string? lang, string? subKey)
2121
private const char _stringDelimeter = '"';
2222
private const char _listSeparator = ',';
2323
private readonly char[] _illegalKeyTokens =
24-
[
24+
[
2525
_langParamEnd,
2626
_spesifierParamEnd,
2727
_stringDelimeter,
@@ -47,7 +47,7 @@ public EntryKeyParseResult Parse(string key)
4747

4848
private string ParseKeyName(ref string remaining)
4949
{
50-
if(string.IsNullOrEmpty(remaining)) throw new ArgumentException("Input string is null or empty");
50+
if (string.IsNullOrEmpty(remaining)) throw new ArgumentException("Input string is null or empty");
5151
char[] sectionStartTokens = [_langParamStart, _spesifierParamStart];
5252
string output = new(remaining);
5353
int index = remaining.IndexOfAny(sectionStartTokens);

PxWeb/Code/PxFile/PxBuilder.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88
using Px.Utils.Models.Metadata.ExtensionMethods;
99
using Px.Utils.PxFile.Data;
1010

11-
using PxWeb.Code.Api2.DataSource.PxFile;
1211
using PxWeb.Code.PxFile;
1312

1413
namespace PxWeb.PxFile

PxWeb/Code/PxFile/PxUtilsProxyParser.cs

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
1-
using PCAxis.Paxiom;
2-
using Px.Utils.PxFile.Metadata;
31
using System.IO;
42
using System.Text;
53

4+
using PCAxis.Paxiom;
5+
6+
using Px.Utils.PxFile.Metadata;
7+
68
using PxWeb.Code.PxFile;
79

810
namespace PxWeb.PxFile

0 commit comments

Comments
 (0)