Add some JavaDoc

This commit is contained in:
Stefan Niedermann 2021-04-08 19:00:39 +02:00
parent 6ff469d455
commit b497c6b24d
2 changed files with 5 additions and 0 deletions

View file

@ -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());

View file

@ -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 {