1
0
mirror of https://github.com/bitwarden/server.git synced 2025-07-01 16:12:49 -05:00

Changed all C# control flow block statements to include space between keyword and open paren

This commit is contained in:
Chad Scharf
2020-03-27 14:36:37 -04:00
parent 943aea9a12
commit 9800b752c0
243 changed files with 2258 additions and 2258 deletions

View File

@ -28,12 +28,12 @@ namespace Bit.Core.Models.Table
public Dictionary<string, CipherAttachment.MetaData> GetAttachments()
{
if(string.IsNullOrWhiteSpace(Attachments))
if (string.IsNullOrWhiteSpace(Attachments))
{
return null;
}
if(_attachmentData != null)
if (_attachmentData != null)
{
return _attachmentData;
}
@ -51,7 +51,7 @@ namespace Bit.Core.Models.Table
public void SetAttachments(Dictionary<string, CipherAttachment.MetaData> data)
{
if(data == null || data.Count == 0)
if (data == null || data.Count == 0)
{
_attachmentData = null;
Attachments = null;
@ -65,7 +65,7 @@ namespace Bit.Core.Models.Table
public void AddAttachment(string id, CipherAttachment.MetaData data)
{
var attachments = GetAttachments();
if(attachments == null)
if (attachments == null)
{
attachments = new Dictionary<string, CipherAttachment.MetaData>();
}
@ -77,7 +77,7 @@ namespace Bit.Core.Models.Table
public void DeleteAttachment(string id)
{
var attachments = GetAttachments();
if(!attachments?.ContainsKey(id) ?? true)
if (!attachments?.ContainsKey(id) ?? true)
{
return;
}