aboutsummaryrefslogtreecommitdiff
path: root/Emby.Server.Implementations/TextEncoding/UniversalDetector/Core/EUCKRProber.cs
diff options
context:
space:
mode:
authorhawken <hawken@thehawken.org>2019-01-07 23:27:46 +0000
committerhawken <hawken@thehawken.org>2019-01-07 23:27:46 +0000
commitbd169e4fd4f5586ab8dad323a520cbcc10de54fe (patch)
tree25ac796d1cbba2d1411612e210b2fde904593ddb /Emby.Server.Implementations/TextEncoding/UniversalDetector/Core/EUCKRProber.cs
parentba1794f64bb1959b3af0fbbddca57df14a5544a9 (diff)
remove trailing whitespace
Diffstat (limited to 'Emby.Server.Implementations/TextEncoding/UniversalDetector/Core/EUCKRProber.cs')
-rw-r--r--Emby.Server.Implementations/TextEncoding/UniversalDetector/Core/EUCKRProber.cs14
1 files changed, 7 insertions, 7 deletions
diff --git a/Emby.Server.Implementations/TextEncoding/UniversalDetector/Core/EUCKRProber.cs b/Emby.Server.Implementations/TextEncoding/UniversalDetector/Core/EUCKRProber.cs
index 67d4b0a72..b1543dae1 100644
--- a/Emby.Server.Implementations/TextEncoding/UniversalDetector/Core/EUCKRProber.cs
+++ b/Emby.Server.Implementations/TextEncoding/UniversalDetector/Core/EUCKRProber.cs
@@ -46,15 +46,15 @@ namespace UniversalDetector.Core
public EUCKRProber()
{
codingSM = new CodingStateMachine(new EUCKRSMModel());
- distributionAnalyser = new EUCKRDistributionAnalyser();
+ distributionAnalyser = new EUCKRDistributionAnalyser();
Reset();
}
-
+
public override string GetCharsetName()
{
- return "EUC-KR";
+ return "EUC-KR";
}
-
+
public override ProbingState HandleData(byte[] buf, int offset, int len)
{
int codingState;
@@ -81,12 +81,12 @@ namespace UniversalDetector.Core
}
}
lastChar[0] = buf[max-1];
-
+
if (state == ProbingState.Detecting)
if (distributionAnalyser.GotEnoughData() && GetConfidence() > SHORTCUT_THRESHOLD)
state = ProbingState.FoundIt;
return state;
-
+
}
public override float GetConfidence()
@@ -96,7 +96,7 @@ namespace UniversalDetector.Core
public override void Reset()
{
- codingSM.Reset();
+ codingSM.Reset();
state = ProbingState.Detecting;
distributionAnalyser.Reset();
//mContextAnalyser.Reset();