We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
schema: <field id="8" name="stopType" type="String16Type" presence="required" sinceVersion="7" />
<field id="8" name="stopType" type="String16Type" presence="required" sinceVersion="7" />
generates below code
public void getStopType(final Appendable value) { if (parentMessage.actingVersion < 7) { return ""; <---- this doesn't compile } for (int i = 0; i < 16 ; ++i) { final int c = buffer.getByte(this.offset + 1112 + i) & 0xFF; if (c == 0) { break; } try { value.append(c > 127 ? '?' : (char)c); } catch (final java.io.IOException e) { throw new java.io.UncheckedIOException(e); } } }
The text was updated successfully, but these errors were encountered:
[Java] Generate correct version check for appendable with fixed lengt…
6ecd8d0
…h char arrays. Issue #648.
Thanks
Sorry, something went wrong.
No branches or pull requests
schema:
<field id="8" name="stopType" type="String16Type" presence="required" sinceVersion="7" />
generates below code
The text was updated successfully, but these errors were encountered: