Skip to content

Commit bccfa0f

Browse files
QueryBuilder: ignore some raw type warnings.
1 parent 7690285 commit bccfa0f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

objectbox-java/src/main/java/io/objectbox/query/QueryBuilder.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -425,6 +425,7 @@ public <TARGET> QueryBuilder<TARGET> backlink(RelationInfo<TARGET, ?> relationIn
425425
* @param relationInfo The relation as found in the generated meta info class ("EntityName_") of class T.
426426
* @param more Supply further relations to be eagerly loaded.
427427
*/
428+
@SuppressWarnings("rawtypes")
428429
public QueryBuilder<T> eager(RelationInfo relationInfo, RelationInfo... more) {
429430
return eager(0, relationInfo, more);
430431
}
@@ -436,6 +437,7 @@ public QueryBuilder<T> eager(RelationInfo relationInfo, RelationInfo... more) {
436437
* @param relationInfo The relation as found in the generated meta info class ("EntityName_") of class T.
437438
* @param more Supply further relations to be eagerly loaded.
438439
*/
440+
@SuppressWarnings({"rawtypes", "unchecked"})
439441
public QueryBuilder<T> eager(int limit, RelationInfo relationInfo, @Nullable RelationInfo... more) {
440442
verifyNotSubQuery();
441443
if (eagerRelations == null) {

0 commit comments

Comments
 (0)