src/main/java/board/Board.java
public void removeNote(Topic topic, Note note) throws BoardException {
    if (!topics.containsKey(topic)) {
      throw new TopicDoesntExistException();
    }
    if (!topics.get(topic).contains(note)) {
      throw new NoteDoesntExistException();
    }
    topics.get(topic).remove(note);
  }
/**
   * removeNote removes the Note from the Topic.
   *
   * @throws BoardException If the Topic isn't on the Board or the Topic doesn't
   *                        have the Note.
   */
removeNote removes the Note from the Topic.
@throws BoardException If the Topic isn't on the Board or the Topic doesn't
have the Note.
removeNote removes the Note from the Topic . @throws BoardException If the Topic isn ' t on the Board or the Topic doesn ' t have the Note .
public void removeNote(Topic topic, Note note) throws BoardException {
    if (!topics.containsKey(topic)) {
      throw new TopicDoesntExistException();
    }
    if (!topics.get(topic).contains(note)) {
      throw new NoteDoesntExistException();
    }
    topics.get(topic).remove(note);
  }
public void removeNote ( Topic topic , Note note ) throws BoardException { if ( ! topics . containsKey ( topic ) ) { throw new TopicDoesntExistException ( ) ; } if ( ! topics . get ( topic ) . contains ( note ) ) { throw new NoteDoesntExistException ( ) ; } topics . get ( topic ) . remove ( note ) ; }
removeNote removes the Note from the Topic.
removeNote removes the Note from the Topic .