Skip to content

Commit 99a7fbe

Browse files
committed
refactor(api): replace empty strings with string.Empty in ResultExtension
1 parent 67babe9 commit 99a7fbe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Corsinvest.ProxmoxVE.Api/ResultExtension.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ public override object ReadJson(JsonReader reader, Type objectType, object exist
7676
{
7777
if (reader.ValueType == typeof(string))
7878
{
79-
return !string.IsNullOrWhiteSpace(reader.Value + "") && Convert.ToBoolean(Convert.ToByte(reader.Value));
79+
return !string.IsNullOrWhiteSpace(reader.Value + string.Empty) && Convert.ToBoolean(Convert.ToByte(reader.Value));
8080
}
8181
else
8282
{

0 commit comments

Comments
 (0)