aboutsummaryrefslogtreecommitdiff
path: root/Emby.Server.Implementations/TextEncoding/NLangDetect/DetectorFactory.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Emby.Server.Implementations/TextEncoding/NLangDetect/DetectorFactory.cs')
-rw-r--r--Emby.Server.Implementations/TextEncoding/NLangDetect/DetectorFactory.cs8
1 files changed, 3 insertions, 5 deletions
diff --git a/Emby.Server.Implementations/TextEncoding/NLangDetect/DetectorFactory.cs b/Emby.Server.Implementations/TextEncoding/NLangDetect/DetectorFactory.cs
index 9d75b8356..08e98d62e 100644
--- a/Emby.Server.Implementations/TextEncoding/NLangDetect/DetectorFactory.cs
+++ b/Emby.Server.Implementations/TextEncoding/NLangDetect/DetectorFactory.cs
@@ -1,10 +1,8 @@
using System;
using System.Collections.Generic;
-using System.IO;
-using System.IO.Compression;
-using NLangDetect.Core.Utils;
-using MediaBrowser.Model.Serialization;
using System.Linq;
+using MediaBrowser.Model.Serialization;
+using NLangDetect.Core.Utils;
namespace NLangDetect.Core
{
@@ -56,7 +54,7 @@ namespace NLangDetect.Core
public static Detector Create(double alpha)
{
- Detector detector = CreateDetector();
+ var detector = CreateDetector();
detector.SetAlpha(alpha);