Skip to content

Commit

Permalink
[Quantum] Fix code style
Browse files Browse the repository at this point in the history
  • Loading branch information
Eideren committed Jun 2, 2020
1 parent 61cd0cf commit 9d78f1b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -134,9 +134,9 @@ public void Validate(bool isList)
public object GetKey(ItemId itemId)
{
// TODO: add indexing by guid to avoid O(n)
foreach( var kvp in keyToIdMap )
foreach (var kvp in keyToIdMap)
{
if( kvp.Value == itemId )
if (kvp.Value == itemId)
return kvp.Key;
}
return null;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ protected virtual void VisitChildren([NotNull] IObjectNode node)
CurrentPath.Pop();
}
}
else if(members is Dictionary<string, IMemberNode>.ValueCollection asVCol)
else if (members is Dictionary<string, IMemberNode>.ValueCollection asVCol)
{
foreach (var child in asVCol)
{
Expand Down

0 comments on commit 9d78f1b

Please sign in to comment.