Skip to content

refactor: improve code readability and remove duplication#118

Merged
georgidhristov merged 1 commit into
mainfrom
refactor/code-cleanup
Jun 12, 2026
Merged

refactor: improve code readability and remove duplication#118
georgidhristov merged 1 commit into
mainfrom
refactor/code-cleanup

Conversation

@georgidhristov

Copy link
Copy Markdown
Collaborator

Summary

This PR contains small internal refactoring changes focused on readability and maintainability without changing existing behavior.

Changes

  • Extracted ignored path checks into a dedicated helper method in DebugProbeMiddleware
  • Removed duplicated request and response body capture logic in DebugProbeHttpClientHandler
  • Simplified redundant conditional logic in RedactionUtils
  • Added braces and made date formatting helper static in DebugEntryStore
  • Applied minor code cleanup and readability improvements

Validation

  • All existing tests pass
  • Test results: 53 passed, 0 failed

Notes

No functional changes are included in this PR.

@georgidhristov georgidhristov merged commit 4f09fd5 into main Jun 12, 2026
1 check passed
@georgidhristov georgidhristov deleted the refactor/code-cleanup branch June 12, 2026 08:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant