Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b497c6b2 authored by Stefan Niedermann's avatar Stefan Niedermann
Browse files

Add some JavaDoc

parent 6ff469d4
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -71,6 +71,7 @@ public class NotesDatabaseTest {
        assertEquals(3, idMapOfFirstAccount.size());
        assertEquals(Long.valueOf(1L), idMapOfFirstAccount.get(1001L));
        assertEquals(Long.valueOf(3L), idMapOfFirstAccount.get(1003L));
        assertEquals(Long.valueOf(5L), idMapOfFirstAccount.get(1005L));

        final Map<Long, Long> idMapOfSecondAccount = db.getIdMap(secondAccount.getId());
        assertEquals(1, idMapOfSecondAccount.size());
+4 −0
Original line number Diff line number Diff line
@@ -16,6 +16,10 @@ import it.niedermann.owncloud.notes.persistence.entity.CategoryWithNotesCount;
import it.niedermann.owncloud.notes.persistence.entity.Note;
import it.niedermann.owncloud.notes.shared.model.DBStatus;

/**
 * Each method starting with <code>search</code> will return only a partial {@link Note} without any
 * {@link Note#eTag}, {@link Note#status}, {@link Note#content} or {@link Note#scrollY} for performance reasons.
 */
@SuppressWarnings("JavadocReference")
@Dao
public interface NoteDao {