private void setConfigProperty ( Properties props , String propName , Object value ) { if ( value != null ) { props . setProperty ( propName , String . valueOf ( value ) ) ; } }
Sets a configuration property but only if it s not null .