Skip to content

Commit

Permalink
Removed checks for null on value types.
Browse files Browse the repository at this point in the history
  • Loading branch information
anakryiko committed Nov 13, 2012
1 parent 5ad7572 commit a4acb1f
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 6 deletions.
Expand Up @@ -79,9 +79,6 @@ public void UnFrameData(IEnumerable<ArraySegment<byte>> data)

public void UnFrameData(ArraySegment<byte> data)
{
if (data == null)
throw new ArgumentNullException("data");

Parse(data);
}
/// <summary>
Expand Down
Expand Up @@ -73,9 +73,6 @@ public void UnFrameData(IEnumerable<ArraySegment<byte>> data)

public void UnFrameData(ArraySegment<byte> data)
{
if (data == null)
throw new ArgumentNullException("data");

Parse(data);
}

Expand Down

0 comments on commit a4acb1f

Please sign in to comment.