diff options
| author | Paul Buetow <paul@buetow.org> | 2026-03-24 17:54:29 +0200 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2026-03-24 17:54:29 +0200 |
| commit | db28ca3ce76a3ab5ab7efbc92fa7bf1cf2d2e16a (patch) | |
| tree | 7757bbbd5b71bb1ad787626ae2d8a0bda0e685d6 /.github | |
| parent | 0f3144a421919c70fc1b9c7f91694ba69ae79e68 (diff) | |
Remove code duplication between EvalOperator and handleOperator in rpn package
- Added executeOperator helper method to handle both standard and hyper operators
- Updated handleOperator, EvalOperator, and ResultStack to use executeOperator
- Removed handleHyperOperatorWithRegistry method (no longer needed)
- Consolidated duplicate operator handling logic into single helper
This improves code maintainability by following DRY principle - operator
handling logic is now in one place (executeOperator).
All tests pass including hyper operator tests. 1 file changed, 23 insertions(+),
28 deletions(-).
Diffstat (limited to '.github')
0 files changed, 0 insertions, 0 deletions
