Skip to content

Commit 4b83d23

Browse files
committed
Improve code quality
1 parent a267f63 commit 4b83d23

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

Parse/Platform/LiveQueries/ParseLiveQuery.cs

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -60,10 +60,7 @@ public ParseLiveQuery(IServiceHub serviceHub, string className, IDictionary<stri
6060
/// </summary>
6161
private ParseLiveQuery(ParseLiveQuery<T> source, IEnumerable<string> watchedKeys = null)
6262
{
63-
if (source == null)
64-
{
65-
throw new ArgumentNullException(nameof(source));
66-
}
63+
ArgumentNullException.ThrowIfNull(source);
6764

6865
Services = source.Services;
6966
ClassName = source.ClassName;

0 commit comments

Comments
 (0)