Skip to content

Commit 9f463c7

Browse files
committed
Removed unneeded ??
1 parent 64cffb9 commit 9f463c7

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

DataExchange/ReClass2007File.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -72,8 +72,8 @@ public void Load(string filePath, ILogger logger)
7272
Query(connection, $"SELECT variable, comment FROM class{id} WHERE type = 16")
7373
.Select(e => new VMethodNode
7474
{
75-
Name = Convert.ToString(e["variable"]) ?? string.Empty,
76-
Comment = Convert.ToString(e["comment"]) ?? string.Empty
75+
Name = Convert.ToString(e["variable"]),
76+
Comment = Convert.ToString(e["comment"])
7777
})
7878
.ForEach(vtableNode.AddNode);
7979

@@ -146,8 +146,8 @@ private IEnumerable<BaseNode> ReadNodeRows(IEnumerable<DataRow> rows, ClassNode
146146
continue;
147147
}
148148

149-
node.Name = Convert.ToString(row["variable"]) ?? string.Empty;
150-
node.Comment = Convert.ToString(row["comment"]) ?? string.Empty;
149+
node.Name = Convert.ToString(row["variable"]);
150+
node.Comment = Convert.ToString(row["comment"]);
151151

152152
var referenceNode = node as BaseReferenceNode;
153153
if (referenceNode != null)

0 commit comments

Comments
 (0)