[Modify] Polish it
This commit is contained in:
parent
5e19058c40
commit
e8ee51efa9
@ -1863,7 +1863,10 @@ namespace WebSocketSharp
|
|||||||
if (source == null)
|
if (source == null)
|
||||||
throw new ArgumentNullException ("source");
|
throw new ArgumentNullException ("source");
|
||||||
|
|
||||||
return source.Length > 1 && !sourceOrder.IsHostOrder () ? source.Reverse () : source;
|
if (source.Length < 2)
|
||||||
|
return source;
|
||||||
|
|
||||||
|
return !sourceOrder.IsHostOrder () ? source.Reverse () : source;
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
Loading…
Reference in New Issue
Block a user