Skip to content

Simplify ion-java-cli OutputFormat#1014

Merged
jobarr-amzn merged 3 commits intoion-11-encodingfrom
cli-output-format
Dec 12, 2024
Merged

Simplify ion-java-cli OutputFormat#1014
jobarr-amzn merged 3 commits intoion-11-encodingfrom
cli-output-format

Conversation

@jobarr-amzn
Copy link
Contributor

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

} else if (builder instanceof IonBinaryWriterBuilder) {
return ((IonBinaryWriterBuilder)builder).withImports(symbolTable).build(out);
} else {
throw new IllegalStateException("This is impossible, none of the enums can do this");
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this text could be more descriptive.

@jobarr-amzn jobarr-amzn merged commit fbdc0b1 into ion-11-encoding Dec 12, 2024
@jobarr-amzn jobarr-amzn deleted the cli-output-format branch December 12, 2024 19:31
tgregg pushed a commit that referenced this pull request Dec 13, 2024
* Simplify ion-java-cli OutputFormat

* Clarify unreachable statement message

* Private static factories instead of functions
popematt pushed a commit to popematt/ion-java that referenced this pull request Sep 25, 2025
* Simplify ion-java-cli OutputFormat

* Clarify unreachable statement message

* Private static factories instead of functions
popematt pushed a commit that referenced this pull request Sep 25, 2025
* Simplify ion-java-cli OutputFormat

* Clarify unreachable statement message

* Private static factories instead of functions
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.

3 participants