Skip to content

Adds checks for timestamp values with length 0.#921

Merged
tgregg merged 1 commit intomasterfrom
check-timestamp-length-0
Aug 6, 2024
Merged

Adds checks for timestamp values with length 0.#921
tgregg merged 1 commit intomasterfrom
check-timestamp-length-0

Conversation

@tgregg
Copy link
Contributor

@tgregg tgregg commented Aug 6, 2024

Description of changes:
According to the Ion spec, timestamp values cannot have length 0. This change allows for cleaner failure (via IonException) when this is violated.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@tgregg tgregg force-pushed the check-timestamp-length-0 branch from c84e40a to 6ebfc83 Compare August 6, 2024 00:25
@tgregg tgregg force-pushed the check-timestamp-length-0 branch from 6ebfc83 to 44a025e Compare August 6, 2024 17:03
@tgregg tgregg merged commit f7cf5e2 into master Aug 6, 2024
@tgregg tgregg deleted the check-timestamp-length-0 branch August 6, 2024 23:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants