diff --git a/src/Shared/HandyControl_Shared/Tools/Queue/Deque!1.cs b/src/Shared/HandyControl_Shared/Tools/Queue/Deque!1.cs index cb44085f..af1aaf1f 100644 --- a/src/Shared/HandyControl_Shared/Tools/Queue/Deque!1.cs +++ b/src/Shared/HandyControl_Shared/Tools/Queue/Deque!1.cs @@ -65,8 +65,7 @@ namespace HandyControl.Tools public Deque(IEnumerable backCollection, IEnumerable frontCollection) { - if (backCollection == null && frontCollection == null) - throw new ArgumentException("Collections cannot both be null"); + if (backCollection == null && frontCollection == null) throw new ArgumentException("Collections cannot both be null"); _front = frontCollection != null ? new List(frontCollection) : new List(); _back = backCollection != null ? new List(backCollection) : new List();