Skip to content

Commit

Permalink
#7281 improve isSpecial javadoc
Browse files Browse the repository at this point in the history
Signed-off-by: Ludovic Orban <lorban@bitronix.be>
  • Loading branch information
lorban committed Dec 20, 2021
1 parent a66995f commit 2b0cd39
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -612,7 +612,9 @@ public boolean isEmpty()
}

/**
* Check if the content is special.
* Check if the content is special. A content is deemed special
* if it does not hold bytes but rather conveys a special event,
* like when EOF has been reached or an error has occurred.
* @return true if the content is special, false otherwise.
*/
public boolean isSpecial()
Expand Down

0 comments on commit 2b0cd39

Please sign in to comment.