this ugliness exists because of bug http://jira.pentaho.com/browse/biserver-3478 . once this is fixed , we can move this initialization into a one liner for each setting in the class construction . the logic needs to be that if the config file does not exist , we can fall over to the pentaho.xml file for the attribute value for backward compatibility . concode_field_sep AuditConnection audc concode_elem_sep String INSERT_STMT concode_field_sep void setString concode_elem_sep void setBigDec concode_elem_sep void auditAll concode_elem_sep void setObject
void function ( ) { String loc0 = PentahoSystem . getSystemSetting ( "srini_string" , "srini_string" , null ) ; INSERT_STMT = ( loc0 != null ) ? loc0 : PentahoSystem . getSystemSetting ( "srini_string" , Messages . getInstance ( ) . getString ( "srini_string" ) ) ; }