Skip to content

Commit

Permalink
refactor(web-impl): Improve DecisionFlowChartManagerImpl code quality
Browse files Browse the repository at this point in the history
and maintainability

* Optimize code structure and reduce complexity in chart generation
* Extract common operations into reusable helper methods
* Add null checks and improved error handling
* Enhance stream operations efficiency
* Improve method organization and readability

DecisionFlowChartManagerImpl changes:
- Introduce helper methods for common data retrieval operations
- Simplify chart data addition logic
- Improve StringBuilder usage in summary generation
- Add null safety checks using Objects.requireNonNull
- Streamline committee lookup operations
- Optimize stream collectors usage
- Add logging capability for better debugging

Bug: None
Test: Existing tests should pass
  • Loading branch information
pethers committed Jan 3, 2025
1 parent 32b436f commit c738283
Showing 1 changed file with 203 additions and 170 deletions.
Loading

0 comments on commit c738283

Please sign in to comment.