question: private void addEntryToInfoList ( Entry entry , List < EntryInfo > entryInfoList ) { if ( entryInfoList != null ) { String typeToAdd = entry . getType ( ) ; if ( typeToAdd . equals ( DbLogic . Constants . quotation ) ) { typeToAdd = DbLogic . Constants . note ; } entryInfoList . add ( new EntryInfo ( entry . getId ( ) , entry . getNoteOrTitle ( "" ) , entry . getQuotation ( "" ) , entry . getIsPublic ( ) , entry . hasFirstChildId ( ) , entry . hasParentId ( ) , typeToAdd ) ) ; } }
target:  Adds the entry to the entry list. 