-
Notifications
You must be signed in to change notification settings - Fork 111
New issue
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
Use default module instead of $ion_encoding #1007
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## ion-11-encoding #1007 +/- ##
==================================================
Coverage ? 70.68%
Complexity ? 7336
==================================================
Files ? 214
Lines ? 29315
Branches ? 5276
==================================================
Hits ? 20720
Misses ? 6936
Partials ? 1659 ☔ View full report in Codecov by Sentry. |
@@ -2115,7 +2115,7 @@ private void setCheckpointBeforeUnannotatedTypeId() { | |||
*/ | |||
private void setMarker(long endIndex, Marker markerToSet) { | |||
if (parent != null && endIndex > parent.endIndex && parent.endIndex > DELIMITED_MARKER) { | |||
throw new IonException("Value exceeds the length of its parent container."); | |||
throw new IonException(String.format("Value [%s:%s] exceeds the length of its parent container [%s:%s].", peekIndex, endIndex, parent.startIndex, parent.endIndex)); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
throw new IonException(String.format("Value [%s:%s] exceeds the length of its parent container [%s:%s].", peekIndex, endIndex, parent.startIndex, parent.endIndex)); | |
throw new IonException(String.format("Value [%d:%d] exceeds the length of its parent container [%d:%d].", peekIndex, endIndex, parent.startIndex, parent.endIndex)); |
Issue #, if available:
None
Description of changes:
Changes
$ion_encoding
to the default module as described in amazon-ion/ion-docs#369This does not implement any new functionality. It just makes the current functionality match the new syntax.
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.