utility method to determine the maximum severity of the list of statuses concode_field_sep boolean isValidatable concode_elem_sep ICommand command concode_elem_sep boolean isParsable concode_elem_sep IStatus targetValidStatus concode_elem_sep Collection sourceGroups concode_elem_sep boolean isResolvable concode_elem_sep Collection<IStatus> updateStatuses concode_elem_sep Collection<IStatus> statuses concode_elem_sep String sqlString concode_field_sep void setSqlString concode_elem_sep String getSqlString concode_elem_sep Collection<IStatus> getStatusList concode_elem_sep Collection getSourceGroups concode_elem_sep String getFullMessage concode_elem_sep ICommand getCommand concode_elem_sep int getUpdateMaxSeverity concode_elem_sep boolean areSrcGroupMdlResourcesValid concode_elem_sep boolean isResolvable concode_elem_sep boolean isTargetValid concode_elem_sep void setCommand concode_elem_sep boolean isValidatable concode_elem_sep String getUpdateFullMessage concode_elem_sep boolean isOkToUpdate concode_elem_sep void setParsable concode_elem_sep boolean isParsable concode_elem_sep void setTargetValidStatus concode_elem_sep Collection<IStatus> getUpdateStatusList concode_elem_sep Collection<IStatus> getUpdateStatusList concode_elem_sep void setSourceGroups concode_elem_sep boolean hasSourceGroup concode_elem_sep void setResolvable concode_elem_sep void setValidatable concode_elem_sep IStatus getTargetValidStatus
int function ( ) { if ( getStatusList ( ) == null || getStatusList ( ) . isEmpty ( ) ) return IStatus . OK ; int loc0 = IStatus . OK ; for ( IStatus loc1 : getStatusList ( ) ) { if ( loc1 . getSeverity ( ) > loc0 ) loc0 = loc1 . getSeverity ( ) ; } return loc0 ; }