diff options
author | Evgenii Kliuchnikov <eustas@google.com> | 2023-08-10 04:45:38 -0700 |
---|---|---|
committer | Copybara-Service <copybara-worker@google.com> | 2023-08-10 04:46:01 -0700 |
commit | 9ff341daaf2419e7985c89ec09964c81e4e2f3da (patch) | |
tree | 5e4f9ddc92f44eb63dc1d139ca56d99b4c356000 /java | |
parent | 8c7923045a76e9a2baeddf6746a5c909497fb84a (diff) | |
download | brotli-9ff341daaf2419e7985c89ec09964c81e4e2f3da.zip brotli-9ff341daaf2419e7985c89ec09964c81e4e2f3da.tar.gz brotli-9ff341daaf2419e7985c89ec09964c81e4e2f3da.tar.bz2 |
Replace TS strict_checks with source-level suppressions.
PiperOrigin-RevId: 555445920
Diffstat (limited to 'java')
-rw-r--r-- | java/org/brotli/dec/Decode.java | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/java/org/brotli/dec/Decode.java b/java/org/brotli/dec/Decode.java index 024b9a6..bf9b681 100644 --- a/java/org/brotli/dec/Decode.java +++ b/java/org/brotli/dec/Decode.java @@ -1109,8 +1109,8 @@ final class Decode { case COMPRESSED_BLOCK_START: readMetablockHuffmanCodesAndContextMaps(s); s.runningState = MAIN_LOOP; - // Fall through + // fall through case MAIN_LOOP: if (s.metaBlockLength <= 0) { s.runningState = BLOCK_START; @@ -1141,7 +1141,7 @@ final class Decode { s.j = 0; s.runningState = INSERT_LOOP; - // Fall through + // fall through case INSERT_LOOP: if (s.trivialLiteralContext != 0) { while (s.j < s.insertLength) { @@ -1248,7 +1248,8 @@ final class Decode { } s.j = 0; s.runningState = COPY_LOOP; - // fall through + + // fall through case COPY_LOOP: int src = (s.pos - s.distance) & ringBufferMask; int dst = s.pos; @@ -1320,7 +1321,8 @@ final class Decode { case INIT_WRITE: s.ringBufferBytesReady = Math.min(s.pos, s.ringBufferSize); s.runningState = WRITE; - // fall through + + // fall through case WRITE: if (writeRingBuffer(s) == 0) { // Output buffer is full. |