question: UsageConfiguration ( ) { mProp = new Properties ( ) ; final Map < String , String > env = Environment . getEnvironmentMap ( ) ; final Boolean enabled = Boolean . valueOf ( env . get ( ENABLE_USAGE ) ) ; mProp . setProperty ( ENABLE_USAGE , enabled . toString ( ) ) ; if ( enabled ) { for ( String property : new String [ ] { USAGE_DIR , USAGE_HOST , USAGE_LOG_USERNAME , USAGE_LOG_HOSTNAME , USAGE_LOG_COMMANDLINE } ) { if ( env . get ( property ) != null ) { mProp . setProperty ( property , env . get ( property ) ) ; } } if ( env . get ( USAGE_DIR ) == null && env . get ( USAGE_HOST ) == null ) { mProp . setProperty ( USAGE_HOST , DEFAULT_USAGE_HOST ) ; } } }
target:  Construct default usage configuration from environment-supplied settings