Support for custom LC UC words min %#43
Conversation
There was a problem hiding this comment.
Code Review
This pull request introduces a configurable minimum uppercase percentage threshold (lowerUCWordsMinPct) when converting uppercase words to lowercase. The changes overload toLowerCaseUpperCaseWords in CleanUtils.java and add an optional parameter across several methods in StringsCleaner.kt. The review feedback recommends using a non-nullable Float with CleanUtils.DEFAULT_MIN_UPPER_CASE_PCT as the default value in Kotlin instead of a nullable Float? defaulting to null. This avoids unnecessary autoboxing overhead and simplifies the code by eliminating the need for Elvis operators downstream.
Important
The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.
No description provided.