TSK-1565: Apply suggestions from code review

Co-authored-by: Mustapha Zorgati <15628173+mustaphazorgati@users.noreply.github.com>
This commit is contained in:
gitgoodjhe 2021-02-24 09:22:52 +01:00
parent 3703fd5f61
commit 0b55208aca
2 changed files with 2 additions and 3 deletions

View File

@ -632,10 +632,10 @@ public interface TaskQuery extends BaseQuery<TaskSummary, TaskQueryColumnName> {
TaskQuery wildcardSearchValueLike(String wildcardSearchValue); TaskQuery wildcardSearchValueLike(String wildcardSearchValue);
/** /**
* Add the task fields for which the wildcard search should be performed as an exact match to your * Add the Task fields for which the wildcard search should be performed as an exact match to your
* query. Must be used in combination with the wildcardSearchValueLike parameter * query. Must be used in combination with the wildcardSearchValueLike parameter
* *
* @param wildcardSearchFields the task fields of your wildcard search * @param wildcardSearchFields the Task fields of your wildcard search
* @return the query * @return the query
*/ */
TaskQuery wildcardSearchFieldsIn(WildcardSearchField... wildcardSearchFields); TaskQuery wildcardSearchFieldsIn(WildcardSearchField... wildcardSearchFields);

View File

@ -83,7 +83,6 @@ class QueryTasksByWildcardSearchAccTest extends AbstractAccTest {
.list(); .list();
assertThat(foundTasksCaseSensitive).hasSize(80); assertThat(foundTasksCaseSensitive).hasSize(80);
assertThat(foundTasksCaseInsensitive).hasSize(80);
assertThat(foundTasksCaseInsensitive).containsExactlyElementsOf(foundTasksCaseSensitive); assertThat(foundTasksCaseInsensitive).containsExactlyElementsOf(foundTasksCaseSensitive);
} }