Skip to content

Commit

Permalink
Rollback switch re-ordering
Browse files Browse the repository at this point in the history
  • Loading branch information
tgd committed Aug 11, 2023
1 parent 1b38fc8 commit 149451e
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -474,15 +474,15 @@ private boolean inACycle2(boolean includeMetaData, Wire wire, Bytes<?> bytes) th
bytes.readLimitToCapacity();

switch (wire.readDataHeader(includeMetaData)) {
case DATA:
context.metaData(false);
break;
case NONE:
// no more polling - appender will always write (or recover) EOF
return false;
case META_DATA:
context.metaData(true);
break;
case DATA:
context.metaData(false);
break;
case EOF:
throw EOF_EXCEPTION;
}
Expand Down

0 comments on commit 149451e

Please sign in to comment.