Issue #3968 - remove public from methods in ReadState

Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
This commit is contained in:
Lachlan Roberts 2019-08-15 09:16:05 +10:00
parent 11d1ad6504
commit 7d7d932288
1 changed files with 4 additions and 6 deletions

View File

@ -28,12 +28,10 @@ class ReadState
{
private static final Logger LOG = Log.getLogger(ReadState.class);
public static final ByteBuffer NO_ACTION = BufferUtil.EMPTY_BUFFER;
private State state = State.READING;
private ByteBuffer buffer;
public ByteBuffer getBuffer()
ByteBuffer getBuffer()
{
synchronized (this)
{
@ -57,7 +55,7 @@ class ReadState
}
}
public Action getAction(ByteBuffer buffer)
Action getAction(ByteBuffer buffer)
{
synchronized (this)
{
@ -152,7 +150,7 @@ class ReadState
}
}
public void discard()
void discard()
{
synchronized (this)
{
@ -189,7 +187,7 @@ class ReadState
}
}
public enum Action
enum Action
{
FILL,
PARSE,