determines how many threads we should use for testing validation rules . concode_field_sep PlaceHolder placeHolder concode_field_sep void reloadAttributeOptionCombos concode_elem_sep Collection<ValidationResult> validate
int function ( ValidationRunContext arg0 ) { int loc0 = SystemUtils . getCpuCores ( ) ; if ( loc0 > 2 ) { loc0 -- ; } if ( loc0 > arg0 . getCountOfSourcesToValidate ( ) ) { loc0 = arg0 . getCountOfSourcesToValidate ( ) ; } return loc0 ; }