Skip to content

Fix various small warnings #2530

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

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

Conversation

MGaetan89
Copy link
Contributor

This commit addresses the following warnings:

  • Remove unnecessary semi-colons.
  • Use isEmpty() instead of comparing the size to 0 (for collections) or the value to "" (for strings).
  • Remove unnecessary calls to toString().
  • Remove redundant type declarations.
  • Use Kotlin's property instead of getter/setter.
  • Replace redundant StringBuilder with String.
  • Remove unnecessary casts.

@MGaetan89 MGaetan89 force-pushed the fix_warnings branch 3 times, most recently from 7d81737 to d0a1708 Compare June 16, 2025 07:53
MGaetan89 and others added 2 commits June 18, 2025 17:19
This commit addresses the following warnings:
- Remove unnecessary semi-colons.
- Use `isEmpty()` instead of comparing the size to 0 (for collections) or the value to `""` (for strings).
- Remove unnecessary calls to `toString()`.
- Remove redundant type declarations.
- Use Kotlin's property instead of getter/setter.
- Replace redundant `StringBuilder` with `String`.
- Remove unnecessary casts.
@rohitjoins
Copy link
Contributor

I'm going to send this for internal review now. You may see some more commits being added as I make changes in response to review feedback. Please refrain from pushing any more substantive changes as it will complicate the internal review - thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants