Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Clean up IronJacamarActivationResourceService
1) Drop null checks where other code proves the ref can't be null. 2) Drop redundant if tests 3) Avoid repeated calculation of various fixed path elements and addresses 4) Avoid repeated calls to non-trivial getters; store and reuse 5) Make fields only used in the class private. 6) Clarify some submodel lookups by using a wildcard PathAddress since the expected returned MRR is the wildcard one 7) Save code space of multi OverrideDescriptionProvider impls when they are all the same.
- Loading branch information
1 parent
5344e95
commit ed25abc
Showing
1 changed file
with
88 additions
and
122 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters