src/main/java/seedu/address/logic/parser/ParserUtil.java
public static JobTitle parseJobTitle(String jobTitle) throws ParseException {
        requireNonNull(jobTitle);
        String trimmedJobTitle = jobTitle.trim();
        if (!JobTitle.isValidJobTitle(trimmedJobTitle)) {
            throw new ParseException(JobTitle.MESSAGE_CONSTRAINTS);
        }
        return new JobTitle(trimmedJobTitle);
    }
/**
     * Parses a {@code String jobTitle} into a {@code JobTitle}.
     * Leading and trailing whitespaces will be trimmed.
     *
     * @throws ParseException if the given {@code JobTitle} is invalid.
     */
Parses a  String jobTitle into a  JobTitle.
Leading and trailing whitespaces will be trimmed.

@throws ParseException if the given  JobTitle is invalid.
Parses a String jobTitle into a JobTitle . Leading and trailing whitespaces will be trimmed . @throws ParseException if the given JobTitle is invalid .
public static JobTitle parseJobTitle(String jobTitle) throws ParseException {
        requireNonNull(jobTitle);
        String trimmedJobTitle = jobTitle.trim();
        if (!JobTitle.isValidJobTitle(trimmedJobTitle)) {
            throw new ParseException(JobTitle.MESSAGE_CONSTRAINTS);
        }
        return new JobTitle(trimmedJobTitle);
    }
public static JobTitle parseJobTitle ( String jobTitle ) throws ParseException { requireNonNull ( jobTitle ) ; String trimmedJobTitle = jobTitle . trim ( ) ; if ( ! JobTitle . isValidJobTitle ( trimmedJobTitle ) ) { throw new ParseException ( JobTitle . MESSAGE_CONSTRAINTS ) ; } return new JobTitle ( trimmedJobTitle ) ; }
Parses a {@code String jobTitle} into a {@code JobTitle}.
Parses a { @code String jobTitle } into a { @code JobTitle } .