/[Apache-SVN]
ViewVC logotype

Revision 1775340


Jump to revision: Previous Next
Author: taher
Date: Tue Dec 20 19:26:11 2016 UTC (7 years, 4 months ago)
Changed paths: 1
Log Message:
Improved: Refactored Config.java to simplify fields initialization

Improvements remove in total roughly 70 lines of code and includes:

- moving all default values to the constructor to make it clear
- refactor getProperty to use the Optional monad
- remove FileInputStream from getPropertiesFile as it is not used
- properly indent conditions in determineOfbizPropertiesFileName
- simplify locale creation
- remove dependency on base (StringUtil)
- other minor renamings and formatting



Changed paths

Path Details
Directoryofbiz/trunk/framework/start/src/main/java/org/apache/ofbiz/base/start/Config.java modified , text changed

infrastructure at apache.org
ViewVC Help
Powered by ViewVC 1.1.26