Please sign in to comment.
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improved: Avoid confusing indirections in ‘StartupControlPanel#start’
(OFBIZ-11137) The ‘StartupControlPanel#start’ method is delegating its job to smaller private methods to improve readability. However the conditionnals were previously hidden inside those methods with the unfortunate consequence of making case analysis hard. To avoid this undesirable effect, the conditionals has been moved inside the ‘StartupControlPanel#start’ method and some delegate methods has been inlined when their implementation was trivial. The parameters of the remaining delegate methods has be refined to avoid passing around unneeded things. git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1862665 13f79535-47bb-0310-9956-ffa450edef68
- Loading branch information
Showing with 32 additions and 60 deletions.