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

@throws ParseException if the given  Job is invalid.
Parses a String job into a Job . Leading and trailing whitespaces will be trimmed . @throws ParseException if the given Job is invalid .
public static JobId parseJob(String job) throws ParseException {
        requireNonNull(job);
        String trimmedJob = job.trim();
        if (!JobId.isValidJobId(trimmedJob)) {
            throw new ParseException(JobId.MESSAGE_CONSTRAINTS);
        }
        return new JobId(trimmedJob);
    }
public static JobId parseJob ( String job ) throws ParseException { requireNonNull ( job ) ; String trimmedJob = job . trim ( ) ; if ( ! JobId . isValidJobId ( trimmedJob ) ) { throw new ParseException ( JobId . MESSAGE_CONSTRAINTS ) ; } return new JobId ( trimmedJob ) ; }
Parses a {@code String job} into a {@code Job}.
Parses a { @code String job } into a { @code Job } .