mirror of
https://github.com/samsonjs/media.git
synced 2026-03-26 09:35:47 +00:00
Add missing RetentionPolicy for IntDef
PiperOrigin-RevId: 407162673
This commit is contained in:
parent
ab9741aced
commit
3a5bf735fa
1 changed files with 5 additions and 0 deletions
|
|
@ -40,6 +40,9 @@ import java.io.DataInputStream;
|
|||
import java.io.IOException;
|
||||
import java.io.InputStream;
|
||||
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.nio.charset.Charset;
|
||||
import java.util.ArrayList;
|
||||
|
|
@ -336,6 +339,8 @@ import org.checkerframework.checker.nullness.qual.MonotonicNonNull;
|
|||
/** Processes RTSP messages line-by-line. */
|
||||
private static final class MessageParser {
|
||||
|
||||
@Documented
|
||||
@Retention(RetentionPolicy.SOURCE)
|
||||
@IntDef({STATE_READING_FIRST_LINE, STATE_READING_HEADER, STATE_READING_BODY})
|
||||
@interface ReadingState {}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue