Skip to content

Commit 53fb8bb

Browse files
committed
Use Append(char) for single-charcter append.
1 parent 9324871 commit 53fb8bb

2 files changed

Lines changed: 7 additions & 7 deletions

File tree

DependencyQueue/DependencyQueueEntry.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -237,10 +237,10 @@ var length
237237

238238
return new StringBuilder(length)
239239
.Append(Name)
240-
.Append(ChunkA).AppendJoined(_entry.Provides)
241-
.Append(ChunkB).AppendJoined(_entry.Requires)
242-
.Append(ChunkC).Append(value)
243-
.Append(ChunkD).ToString();
240+
.Append(ChunkA ).AppendJoined(_entry.Provides)
241+
.Append(ChunkB ).AppendJoined(_entry.Requires)
242+
.Append(ChunkC ).Append(value)
243+
.Append(ChunkD[0]).ToString();
244244
}
245245
}
246246
}

DependencyQueue/DependencyQueueTopic.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -142,9 +142,9 @@ var length
142142

143143
return new StringBuilder(length)
144144
.Append(Name)
145-
.Append(ChunkA).AppendJoined(providedBy)
146-
.Append(ChunkB).AppendJoined(requiredBy)
147-
.Append(ChunkC).ToString();
145+
.Append(ChunkA ).AppendJoined(providedBy)
146+
.Append(ChunkB ).AppendJoined(requiredBy)
147+
.Append(ChunkC[0]).ToString();
148148
}
149149
}
150150
}

0 commit comments

Comments
 (0)