Skip to content

THRIFT-5762 Fix spotless errors#2945

Merged
Jens-G merged 1 commit intoapache:masterfrom
thomasbruggink:fix-spotless-errors
Mar 22, 2024
Merged

THRIFT-5762 Fix spotless errors#2945
Jens-G merged 1 commit intoapache:masterfrom
thomasbruggink:fix-spotless-errors

Conversation

@thomasbruggink
Copy link
Copy Markdown
Contributor

Run gradlew :spotlessApply to apply the correct coding style.

@thomasbruggink
Copy link
Copy Markdown
Contributor Author

@fishy is there anything i can run locally to test if the cross test will start?

@fishy
Copy link
Copy Markdown
Member

fishy commented Mar 15, 2024

A later step for kotlin failed: https://github.com/apache/thrift/actions/runs/8294540230/job/22710000124?pr=2945

is there anything i can run locally to test if the cross test will start?

Not really, but you can look at the github action workflow definition and run the steps manually locally:

lib-java-kotlin:

@fishy fishy added java Pull requests that update Java code kotlin labels Mar 15, 2024
@fishy fishy requested a review from jimexist March 15, 2024 17:57
@thomasbruggink
Copy link
Copy Markdown
Contributor Author

@fishy I fixed the kotlin compiler error, didnt realize this was re-using the java library 🙇
If you prefer this to be its own PR let me know and I'll split it off.

Copy link
Copy Markdown
Member

@fishy fishy left a comment

Choose a reason for hiding this comment

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

looks good to me, but I'll give others more familiar with the java/kotlin code a chance to review before merging it.

in the mean time, @thomasbruggink can you please squash the commits?

Run `gradlew :spotlessApply` to apply the correct coding style.

Update kotlin compiler to support `getEmptyResultInstance`

apache#2939 added the feature to create
an instance of the result object without having to use the
ProcessFunction.
The Kotlin compiler re-uses the java lib so this commit udpates the
Kotlin compiler to support this feature as well.
@Jens-G Jens-G merged commit 2826098 into apache:master Mar 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

java Pull requests that update Java code kotlin

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants