src/main/java/seedu/address/logic/parser/ParserUtil.java
/**
     * Parses a {@code String note} into a {@code Note}.
     * Leading and trailing whitespaces will be trimmed.
     *
     * @throws ParseException if the given {@code note} is invalid.
     */
Parses a  String note into a  Note.
Leading and trailing whitespaces will be trimmed.

@throws ParseException if the given  note is invalid.
Parses a String note into a Note . Leading and trailing whitespaces will be trimmed . @throws ParseException if the given note is invalid .
public static Note parseNote(String note) throws ParseException {
        requireNonNull(note);
        String trimmedNote = note.trim();
        return new Note(trimmedNote);
    }
public static Note parseNote ( String note ) throws ParseException { requireNonNull ( note ) ; String trimmedNote = note . trim ( ) ; return new Note ( trimmedNote ) ; }
Parses a {@code String note} into a {@code Note}.
Parses a { @code String note } into a { @code Note } .