diff options
| author | telans <telans@protonmail.com> | 2020-06-20 21:12:36 +1200 |
|---|---|---|
| committer | telans <telans@protonmail.com> | 2020-06-20 21:12:36 +1200 |
| commit | 7f307f9082cb4be296e745c2c066334858f000af (patch) | |
| tree | 4f5e3ca5a628624f631ccf1da9deeed90481d9bc /Emby.Server.Implementations/Sorting/RuntimeComparer.cs | |
| parent | 98db8f72e01b608e6c384ecf5b107fc2d105b652 (diff) | |
brace multiline if statements
Diffstat (limited to 'Emby.Server.Implementations/Sorting/RuntimeComparer.cs')
| -rw-r--r-- | Emby.Server.Implementations/Sorting/RuntimeComparer.cs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Emby.Server.Implementations/Sorting/RuntimeComparer.cs b/Emby.Server.Implementations/Sorting/RuntimeComparer.cs index f165123ea..dde44333d 100644 --- a/Emby.Server.Implementations/Sorting/RuntimeComparer.cs +++ b/Emby.Server.Implementations/Sorting/RuntimeComparer.cs @@ -19,10 +19,14 @@ namespace Emby.Server.Implementations.Sorting public int Compare(BaseItem x, BaseItem y) { if (x == null) + { throw new ArgumentNullException(nameof(x)); + } if (y == null) + { throw new ArgumentNullException(nameof(y)); + } return (x.RunTimeTicks ?? 0).CompareTo(y.RunTimeTicks ?? 0); } |
