From 152d1ebc3cd36111ef3cdcc6f854dc02bbc1a1b7 Mon Sep 17 00:00:00 2001 From: Staffan Gustafsson Date: Fri, 3 Aug 2018 00:37:23 +0200 Subject: [PATCH] Addressing review comments --- .../commands/utility/group-object.cs | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/src/Microsoft.PowerShell.Commands.Utility/commands/utility/group-object.cs b/src/Microsoft.PowerShell.Commands.Utility/commands/utility/group-object.cs index 60aca4d8ca3e..d0caa258c899 100644 --- a/src/Microsoft.PowerShell.Commands.Utility/commands/utility/group-object.cs +++ b/src/Microsoft.PowerShell.Commands.Utility/commands/utility/group-object.cs @@ -112,8 +112,7 @@ internal static object ArrayToTuple(IList inputObjects, int startIndex) /// public sealed class GroupInfoNoElement : GroupInfo { - internal GroupInfoNoElement(OrderByPropertyEntry groupValue) - : base(groupValue) + internal GroupInfoNoElement(OrderByPropertyEntry groupValue) : base(groupValue) { } @@ -250,7 +249,6 @@ public class GroupObjectCommand : ObjectBase /// /// Gets or sets the AsString parameter. /// - /// [Parameter(ParameterSetName = "HashTable")] public SwitchParameter AsString { get; set; } @@ -368,8 +366,8 @@ public class GroupObjectCommand : ObjectBase // create a new group s_tracer.WriteLine("Create a new group: {0}", currentObjectOrderValues); GroupInfo newObjGrp = noElement - ? new GroupInfoNoElement(currentObjectEntry) - : new GroupInfo(currentObjectEntry); + ? new GroupInfoNoElement(currentObjectEntry) + : new GroupInfo(currentObjectEntry); groups.Add(newObjGrp); @@ -556,4 +554,4 @@ protected override void EndProcessing() } } } -} +} \ No newline at end of file