Closed theshadowco closed 8 months ago
The project's Gradle build configuration and Java source files have been updated to improve maintainability and readability. Plugin versions were updated, URLs were adjusted, and dependencies were altered. Java code saw the removal of unnecessary Collectors
usage, adoption of the toList()
method, and introduction of Java 16's record feature for cleaner code. Utility methods were leveraged for property definition, and new configurations and localizations were added for the BSL Language Server.
File Pattern | Change Summary |
---|---|
build.gradle.kts |
Updated plugin version, adjusted URLs, and altered dependencies. Disabled tasks.jar . |
src/main/java/.../BSLCommunityProperties.java |
Removed unnecessary import; reordered and refactored property definitions. |
src/main/java/.../BSLCoreSensor.java |
Added imports, replaced collect with toList() , and refactored methods for diagnostic configuration. |
src/main/java/.../BSLHighlighter.java |
Replaced collect(Collectors.toList()) with toList() . |
src/main/java/.../ext_issues/QualityProfilesContainer.java |
Replaced Collectors.toList() with toList() and modified method references. |
src/main/java/.../ext_issues/Reporter.java |
Used utility methods for property creation and restructured definitions. |
src/main/java/.../ext_issues/RulesFile.java |
Refactored to use Java 16's record feature. |
src/main/resources/org/sonar/l10n/... |
Added new configurations and localizations for the BSL Language Server plugin. |
🐇✨ To code's delight and bugs' dismay, Clean-up's done, we've paved the way. Records neat, and
toList()
sway, Hop forward to a brighter day! 🌟(\__/) || (•ㅅ•) || / づ
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
The SonarCloud Quality Gate passed, but some issues were introduced.
8 New issues
0 Security Hotspots
100.0% Coverage on New Code
0.0% Duplication on New Code
closes #175
Summary by CodeRabbit
New Features
Refactor
RulesFile
class.Style
Chores