Skip to content

Commit 1acafdd

Browse files
authored
Merge pull request #5183 from IvenBach/StringDotEmpty
Minor inconsequential cleanups
2 parents d374ba7 + e6826b1 commit 1acafdd

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

Rubberduck.Core/UI/ToDoItems/ToDoExplorerViewModel.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@
1818
using Rubberduck.Resources.ToDoExplorer;
1919
using Rubberduck.Interaction.Navigation;
2020
using Rubberduck.Parsing.UIContext;
21-
using Rubberduck.VBEditor.Utility;
2221
using Rubberduck.SettingsProvider;
2322
using System.Windows.Controls;
2423

@@ -257,7 +256,7 @@ public void ExecuteCopyResultsCommand(object obj)
257256

258257
var title = string.Format(resource, DateTime.Now.ToString(CultureInfo.InvariantCulture), _items.Count);
259258

260-
var textResults = title + Environment.NewLine + string.Join("", _items.OfType<IExportable>().Select(result => result.ToClipboardString() + Environment.NewLine).ToArray());
259+
var textResults = title + Environment.NewLine + string.Join(string.Empty, _items.OfType<IExportable>().Select(result => result.ToClipboardString() + Environment.NewLine).ToArray());
261260
var csvResults = ExportFormatter.Csv(resultArray, title, columnInfos);
262261
var htmlResults = ExportFormatter.HtmlClipboardFragment(resultArray, title, columnInfos);
263262
var rtfResults = ExportFormatter.RTF(resultArray, title);

0 commit comments

Comments
 (0)