Repository navigation
chore: fix Sonar findings in dev loop and hotswapper test - #27454
Conversation
|
@mcollovati this "chore:"/"test:"/"refactor:" PR has been approved automatically, but auto merge has not been enabled for it. You can enable the auto merge by yourself, or ask another member for another review. [Message is sent from bot] |
|
@totally-not-ai merge main and resolve conflicts |
…rows # Conflicts: # vaadin-dev-server/src/test/java/com/vaadin/base/devserver/hotswap/impl/JsDefinitionHotswapperTest.java
|
@mcollovati Merged |
|
@mcollovati this "chore:"/"test:"/"refactor:" PR has been approved automatically, but auto merge has not been enabled for it. You can enable the auto merge by yourself, or ask another member for another review. [Message is sent from bot] |
|



refactor · vaadin-dev-server · nobody; no behavior change
Fixes two minor Sonar findings that show up on every pull request touching these files: list sorting through the old static helper, and a test that declares an exception it never throws.
Risks:
✅ No behavior change, no public API, no security, memory, serialization, threading, performance or migration impact.
Replaced the four
Collections.sort(list)calls inDevLoopRedefinerwithlist.sort(Comparator.naturalOrder())(java:S9412).Removed the unused
throws IOExceptionfromJsDefinitionHotswapperTest.extendedInterfaceRedefinedInPlace_definitionsExtendingItSeeTheNewJavaScript(java:S1130).