Skip to content
This repository was archived by the owner on Jan 31, 2022. It is now read-only.

Commit 3380ae0

Browse files
committed
chore(Query): Suppress unused warnings
1 parent 90fba1d commit 3380ae0

File tree

1 file changed

+4
-1
lines changed
  • algoliasearch/src/main/java/com/algolia/search/saas

1 file changed

+4
-1
lines changed

algoliasearch/src/main/java/com/algolia/search/saas/Query.java

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,10 @@
4545
* 2. Using the low-level, untyped getter (`get()`) and setter (`set()`) or the subscript operator.
4646
* Use this approach if the parameter you wish to set is not supported by this class.
4747
*/
48-
@SuppressWarnings("WeakerAccess") // Enums & Methods are voluntarily public
48+
@SuppressWarnings({
49+
"WeakerAccess" /* Enums & Methods are voluntarily public */,
50+
"unused" /* Tests are dynamically generated, see QueryTest.java */
51+
})
4952
public class Query extends AbstractQuery {
5053
public enum QueryType {
5154
/**

0 commit comments

Comments
 (0)