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

Treat warnings as errors in tool and library code #133

Merged
merged 1 commit into from
Oct 20, 2023

Conversation

jzbrooks
Copy link
Contributor

@jzbrooks jzbrooks commented Oct 20, 2023

No description provided.

result.append((c.code + ('A'.code - 'a'.code)).toChar())
} else {
result.append(c)
capFirstLetter: Boolean,
Copy link
Contributor Author

Choose a reason for hiding this comment

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

While I was in this function addressing the warning, I also changed parts of it to use kotlin idioms and standard library APIs. Those changes could easily be removed if you like, but they seem a little nicer to me.

@pkwarren pkwarren merged commit fc60e2a into connectrpc:main Oct 20, 2023
7 checks passed
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