private static void setDefaultProperties ( CitrusAppConfiguration configuration ) { for ( Map . Entry < String , String > entry : configuration . getDefaultProperties ( ) . entrySet ( ) ) { log . debug ( String . format ( "Setting application property %s=%s" , entry . getKey ( ) , entry . getValue ( ) ) ) ; System . setProperty ( entry . getKey ( ) , Optional . ofNullable ( entry . getValue ( ) ) . orElse ( "" ) ) ; } }
Reads default properties in configuration and sets them as system properties .