Add missing RetentionPolicy for IntDef
PiperOrigin-RevId: 407162673
This commit is contained in:
parent
be4ea151c4
commit
ac66487013
@ -39,6 +39,9 @@ import java.io.DataInputStream;
|
|||||||
import java.io.IOException;
|
import java.io.IOException;
|
||||||
import java.io.InputStream;
|
import java.io.InputStream;
|
||||||
import java.io.OutputStream;
|
import java.io.OutputStream;
|
||||||
|
import java.lang.annotation.Documented;
|
||||||
|
import java.lang.annotation.Retention;
|
||||||
|
import java.lang.annotation.RetentionPolicy;
|
||||||
import java.net.Socket;
|
import java.net.Socket;
|
||||||
import java.nio.charset.Charset;
|
import java.nio.charset.Charset;
|
||||||
import java.util.ArrayList;
|
import java.util.ArrayList;
|
||||||
@ -334,6 +337,8 @@ import org.checkerframework.checker.nullness.qual.MonotonicNonNull;
|
|||||||
/** Processes RTSP messages line-by-line. */
|
/** Processes RTSP messages line-by-line. */
|
||||||
private static final class MessageParser {
|
private static final class MessageParser {
|
||||||
|
|
||||||
|
@Documented
|
||||||
|
@Retention(RetentionPolicy.SOURCE)
|
||||||
@IntDef({STATE_READING_FIRST_LINE, STATE_READING_HEADER, STATE_READING_BODY})
|
@IntDef({STATE_READING_FIRST_LINE, STATE_READING_HEADER, STATE_READING_BODY})
|
||||||
@interface ReadingState {}
|
@interface ReadingState {}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user