[#1328] marked obsolete LineFilterOutputStream as deprecated

Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
This commit is contained in:
Christian Dietrich 2019-12-15 10:30:24 +01:00
parent b4cc111f25
commit 771ff6052f
2 changed files with 4 additions and 0 deletions

View file

@ -17,6 +17,7 @@ import org.junit.Test;
/**
* @author Sebastian Zarnekow - Initial contribution and API
*/
@SuppressWarnings("deprecation")
public class LineFilterOutputStreamTest extends Assert {
private ByteArrayOutputStream result;

View file

@ -14,7 +14,10 @@ import java.io.OutputStream;
/**
* Filters any line, that contains the given pattern right from the beginning.
* @author Sebastian Zarnekow - Initial contribution and API
*
* @deprecated this class is obsolete and will be removed in a future release of Xtext.
*/
@Deprecated
public class LineFilterOutputStream extends FilterOutputStream {
private final byte[] pattern;