code cleanup

This commit is contained in:
rafael-aero
2021-09-17 16:05:40 +02:00
parent e1edc764d6
commit e6ea9883fd
3 changed files with 9 additions and 5 deletions

View File

@@ -1,4 +1,6 @@
namespace ElectronNET.API.Entities
using System;
namespace ElectronNET.API.Entities
{
public class JumpListSettings
{
@@ -13,6 +15,6 @@
/// in the Jump List. These items must not be re-added to the Jump List in the next call to <see cref="App.SetJumpList"/>, Windows will
/// not display any custom category that contains any of the removed items.
/// </summary>
public JumpListItem[] RemovedItems { get; set; } = new JumpListItem[0];
public JumpListItem[] RemovedItems { get; set; } = Array.Empty<JumpListItem>();
}
}

View File

@@ -1,4 +1,6 @@
namespace ElectronNET.API.Entities
using System;
namespace ElectronNET.API.Entities
{
/// <summary>
///
@@ -13,7 +15,7 @@
/// <summary>
///
/// </summary>
public UpdateFileInfo[] Files { get; set; } = new UpdateFileInfo[0];
public UpdateFileInfo[] Files { get; set; } = Array.Empty<UpdateFileInfo>();
/// <summary>
/// The release name.