aboutsummaryrefslogtreecommitdiff
path: root/Emby.Naming/Subtitles/SubtitleParser.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Emby.Naming/Subtitles/SubtitleParser.cs')
-rw-r--r--Emby.Naming/Subtitles/SubtitleParser.cs6
1 files changed, 3 insertions, 3 deletions
diff --git a/Emby.Naming/Subtitles/SubtitleParser.cs b/Emby.Naming/Subtitles/SubtitleParser.cs
index fbf0f60cb..ac9432d57 100644
--- a/Emby.Naming/Subtitles/SubtitleParser.cs
+++ b/Emby.Naming/Subtitles/SubtitleParser.cs
@@ -1,7 +1,7 @@
-using Emby.Naming.Common;
using System;
using System.IO;
using System.Linq;
+using Emby.Naming.Common;
namespace Emby.Naming.Subtitles
{
@@ -18,7 +18,7 @@ namespace Emby.Naming.Subtitles
{
if (string.IsNullOrEmpty(path))
{
- throw new ArgumentNullException("path");
+ throw new ArgumentNullException(nameof(path));
}
var extension = Path.GetExtension(path);
@@ -52,7 +52,7 @@ namespace Emby.Naming.Subtitles
{
if (string.IsNullOrEmpty(path))
{
- throw new ArgumentNullException("path");
+ throw new ArgumentNullException(nameof(path));
}
// Note: the tags need be be surrounded be either a space ( ), hyphen -, dot . or underscore _.