private void appendNote(Note note, int depth, DiscussionThread discussionThread) { NoteContainerPresenter noteContainerPresenter = new NoteContainerPresenter(new NoteContainerViewImpl()); noteContainerPresenter.setNote(note, discussionThread); view.addNote(noteContainerPresenter, depth); for (Note childNote : discussionThread.getReplies(note.getNoteId())) { appendNote(childNote, depth + 1, discussionThread); } }