Skip to content

Commit 268f05c

Browse files
Copilotslachiewicz
andcommitted
Add documentation for StreamPollFeeder
Co-authored-by: slachiewicz <[email protected]>
1 parent 364e1f6 commit 268f05c

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/main/java/org/codehaus/plexus/util/cli/StreamPollFeeder.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,9 @@
2222

2323
/**
2424
* Poll InputStream for available data and write the output to an OutputStream.
25+
* <p>
26+
* This class is designed to avoid blocking when reading from streams like System.in.
27+
* It polls the input stream for available data instead of blocking on read operations.
2528
*
2629
* @author <a href="mailto:[email protected]">Trygve Laugst&oslash;l</a>
2730
*/

0 commit comments

Comments
 (0)