Skip to content
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

fix kotlin warnings in db-sources CDK submodule #37482

Conversation

stephane-airbyte
Copy link
Contributor

@stephane-airbyte stephane-airbyte commented Apr 22, 2024

fixing kotlin warnings in CDK db-sources submodule

Copy link

vercel bot commented Apr 22, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

1 Ignored Deployment
Name Status Preview Comments Updated (UTC)
airbyte-docs ⬜️ Ignored (Inspect) Visit Preview Apr 22, 2024 11:22pm

@octavia-squidington-iii octavia-squidington-iii added the CDK Connector Development Kit label Apr 22, 2024
Copy link
Contributor Author

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @stephane-airbyte and the rest of your teammates on Graphite Graphite

@stephane-airbyte stephane-airbyte marked this pull request as ready for review April 22, 2024 19:53
@stephane-airbyte stephane-airbyte requested a review from a team as a code owner April 22, 2024 19:53
@stephane-airbyte stephane-airbyte requested review from postamar and removed request for a team April 22, 2024 19:53
@stephane-airbyte stephane-airbyte force-pushed the stephane/04-22-fix_kotlin_warnings_in_db-sources_cdk_submodule branch from 076187f to e99cdaf Compare April 22, 2024 23:20
@stephane-airbyte stephane-airbyte requested a review from a team as a code owner April 22, 2024 23:20
@stephane-airbyte stephane-airbyte force-pushed the stephane/04-22-fix_kotlin_warnings_in_db-sources_cdk_submodule branch from e99cdaf to 05aa676 Compare April 22, 2024 23:22
*
* @return set of system namespaces(schemas) to be excluded
*/
get
Copy link
Contributor

Choose a reason for hiding this comment

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

nit: we might instead want preserve the comment as a comment on the val itself.

On the other hand, this field is fairly self-explanatory. Up to you.

@@ -24,7 +24,7 @@ open class SourceStateIterator<T>(
private var lastCheckpoint: Instant = Instant.now()

override fun computeNext(): AirbyteMessage? {
var iteratorHasNextValue = false
var iteratorHasNextValue: Boolean
Copy link
Contributor

Choose a reason for hiding this comment

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

fyi you can also var iteratorHasNextValue: Boolean = try { ... though there's no benefit to readability whatsoever in this case

@stephane-airbyte stephane-airbyte merged commit 9413578 into master Apr 23, 2024
34 checks passed
@stephane-airbyte stephane-airbyte deleted the stephane/04-22-fix_kotlin_warnings_in_db-sources_cdk_submodule branch April 23, 2024 14:00
strosek pushed a commit that referenced this pull request Apr 24, 2024
fixing kotlin warnings in CDK db-sources submodule
FVidalCarneiro pushed a commit to AgiData/airbyte that referenced this pull request May 2, 2024
fixing kotlin warnings in CDK db-sources submodule
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CDK Connector Development Kit
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants