Skip to content

Commit

Permalink
redacted code
Browse files Browse the repository at this point in the history
  • Loading branch information
UFA-MOROZOV committed Oct 2, 2024
1 parent fd7240a commit 98a2389
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions src/main/java/org/takes/rq/ChunkedInputStream.java
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@

/**
* Input stream from chunked coded http request body.
*
* @link <a href="https://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.6.1">Chunked Transfer Coding</a>
* @since 0.31.2
*/
Expand Down Expand Up @@ -129,7 +128,6 @@ public int read(final byte[] buf) throws IOException {

/**
* Read the CRLF terminator.
*
* @throws IOException If an IO error occurs.
*/
private void readCrlf() throws IOException {
Expand All @@ -150,7 +148,6 @@ private void readCrlf() throws IOException {

/**
* Read the next chunk.
*
* @throws IOException If an IO error occurs.
*/
private void nextChunk() throws IOException {
Expand All @@ -169,7 +166,6 @@ private void nextChunk() throws IOException {
* Expects the stream to start with a chunksize in hex with optional
* comments after a semicolon. The line must end with a CRLF: "a3; some
* comment\r\n" Positions the stream at the start of the next line.
*
* @param stream The new input stream.
* @return The chunk size as integer
* @throws IOException when the chunk size could not be parsed
Expand Down Expand Up @@ -230,7 +226,6 @@ private enum State {

/**
* Extract line with chunk size from stream.
*
* @param stream Input stream.
* @return Line with chunk size.
* @throws IOException If fails.
Expand All @@ -247,7 +242,6 @@ private static ByteArrayOutputStream sizeLine(final InputStream stream)

/**
* Get next state for FSM.
*
* @param stream Input stream.
* @param state Current state.
* @param line Current chunk size line.
Expand Down Expand Up @@ -289,7 +283,6 @@ private static State next(final InputStream stream, final State state,

/**
* Maintain next symbol for current state = State.NORMAL.
*
* @param state Current state.
* @param line Current chunk size line.
* @param next Next symbol.
Expand All @@ -315,7 +308,6 @@ private static State nextNormal(final State state,

/**
* Maintain next symbol for current state = State.QUOTED_STRING.
*
* @param stream Input stream.
* @param state Current state.
* @param line Current chunk size line.
Expand Down

0 comments on commit 98a2389

Please sign in to comment.