Skip to content

Adds an explicit constant to better document behavior#581

Merged
andyHa merged 1 commit intodevelopfrom
feature/aha/minor-outcall-cleanup
Nov 21, 2025
Merged

Adds an explicit constant to better document behavior#581
andyHa merged 1 commit intodevelopfrom
feature/aha/minor-outcall-cleanup

Conversation

@andyHa
Copy link
Member

@andyHa andyHa commented Nov 21, 2025

Description

Outcall.modifyClient(String) accepts a string to cache a newly constructed HttpClient. null is used to signal that the client must not be cached. To better document this, an explicit constant was added so that call.modifyClient(Outcall.CLIENT_SELECTOR_NO_CACHE) sort of speaks for itself (in contrast to call.modifyClient(null))

Additional Notes

Checklist

  • Code change has been tested and works locally
  • Code was formatted via IntelliJ and follows SonarLint & best practices

Outcall.modifyClient(String) accepts a string to cache a
newly constructed HttpClient. null is used to signal that
the client must not be cached. To better document this,
an explicit constant was added so that

call.modifyClient(Outcall.CLIENT_SELECTOR_NO_CACHE)
sort of speaks for itself (in contrast to call.modifyClient(null)
@andyHa andyHa added 👶🏻 Trivial Easy to review 🛠️ Maintenance Translations, Code Cleanup, ... labels Nov 21, 2025
@andyHa andyHa merged commit 5e00d24 into develop Nov 21, 2025
6 checks passed
@andyHa andyHa deleted the feature/aha/minor-outcall-cleanup branch November 21, 2025 12:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

🛠️ Maintenance Translations, Code Cleanup, ... 👶🏻 Trivial Easy to review

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants