private void addProperties ( final SystemProperties config ) { for ( Property property : config . getProperty ( ) ) { String name = property . getName ( ) . trim ( ) ; String value = property . getValue ( ) . trim ( ) ; if ( config . isOverrideProperties ( ) || ( System . getProperty ( name ) == null ) ) { System . setProperty ( name , value ) ; } } }
Adds properties from the configuration to system properties .