Skip to content

Commit 364e1f6

Browse files
Copilotslachiewicz
andcommitted
Deprecate StreamFeeder in favor of StreamPollFeeder
Co-authored-by: slachiewicz <[email protected]>
1 parent 53d7b10 commit 364e1f6

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,9 @@
2424
* Read from an InputStream and write the output to an OutputStream.
2525
*
2626
* @author <a href="mailto:[email protected]">Trygve Laugst&oslash;l</a>
27-
*
27+
* @deprecated Use {@link StreamPollFeeder} instead. This class can block when used with System.in
2828
*/
29+
@Deprecated
2930
public class StreamFeeder extends AbstractStreamHandler {
3031

3132
private InputStream input;

0 commit comments

Comments
 (0)