-
Notifications
You must be signed in to change notification settings - Fork 520
Commit
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
2 changed files
with
32 additions
and
60 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
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