fix: clean magic value, and update if-else to switch #8848
Merged
Codecov / codecov/project
succeeded
Jan 27, 2026 in 1s
17.60% (+0.00%) compared to 128dbe2
View this Pull Request on Codecov
17.60% (+0.00%) compared to 128dbe2
Details
Codecov Report
❌ Patch coverage is 0% with 19 lines in your changes missing coverage. Please review.
✅ Project coverage is 17.60%. Comparing base (128dbe2) to head (d29fda7).
| Files with missing lines | Patch % | Lines |
|---|---|---|
| ...-proxy/rdpconsole/src/main/java/common/Client.java | 0.00% | 19 Missing |
Additional details and impacted files
@@ Coverage Diff @@
## 4.22 #8848 +/- ##
=========================================
Coverage 17.60% 17.60%
- Complexity 15615 15616 +1
=========================================
Files 5911 5911
Lines 529966 529967 +1
Branches 64747 64748 +1
=========================================
+ Hits 93285 93289 +4
+ Misses 426180 426178 -2
+ Partials 10501 10500 -1 ☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.
🚀 New features to boost your workflow:
- ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
- 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.
Loading