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 Mar 5, 2024
1 parent 2f50ef6 commit d44dd6e
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -468,15 +468,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 d44dd6e

Please sign in to comment.