From 8ed6a86113337524ab4b0cfd88f9b7bb131228c8 Mon Sep 17 00:00:00 2001 From: ikpil Date: Sat, 5 Aug 2023 11:27:23 +0900 Subject: [PATCH] typo --- .../Io/Compress/FastLz.cs | 22 ++++++++----------- 1 file changed, 9 insertions(+), 13 deletions(-) diff --git a/src/DotRecast.Detour.TileCache/Io/Compress/FastLz.cs b/src/DotRecast.Detour.TileCache/Io/Compress/FastLz.cs index 28ac44f..697339c 100644 --- a/src/DotRecast.Detour.TileCache/Io/Compress/FastLz.cs +++ b/src/DotRecast.Detour.TileCache/Io/Compress/FastLz.cs @@ -19,15 +19,15 @@ using System; namespace DotRecast.Detour.TileCache.Io.Compress { /** - * Core of FastLZ compression algorithm. - * - * This class provides methods for compression and decompression of buffers and saves - * constants which use by FastLzFrameEncoder and FastLzFrameDecoder. - * - * This is refactored code of jfastlz - * library written by William Kinney. - */ - public class FastLz + * Core of FastLZ compression algorithm. + * + * This class provides methods for compression and decompression of buffers and saves + * constants which use by FastLzFrameEncoder and FastLzFrameDecoder. + * + * This is refactored code of jfastlz + * library written by William Kinney. + */ + public static class FastLz { private const int MAX_DISTANCE = 8191; private const int MAX_FARDISTANCE = 65535 + MAX_DISTANCE - 1; @@ -689,9 +689,5 @@ namespace DotRecast.Detour.TileCache.Io.Compress return (data[offset + 1] & 0xff) << 8 | data[offset] & 0xff; } - - private FastLz() - { - } } } \ No newline at end of file