media icon indicating copy to clipboard operation
media copied to clipboard

Fix various small warnings

Open MGaetan89 opened this issue 6 months ago • 1 comments

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 avatar Jun 11 '25 13:06 MGaetan89

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!

rohitjoins avatar Jun 18 '25 16:06 rohitjoins