#1738 - Refactor tidy suppressWarnings

This commit is contained in:
rob bygrave committed 2019-06-28 23:04:20 +12:00
1 parent b4182d4519
commit 30a0935300
12 files changed
+18 -22

No files matched your search

@@ -178,7 +178,6 @@ public class OrmQueryProperties implements Serializable {
/**
* Move a OrderBy.Property from the main query to this query join.
*/
@SuppressWarnings("rawtypes")
void addSecJoinOrderProperty(OrderBy.Property orderProp) {
if (orderBy == null) {
orderBy = new OrderBy();
@@ -194,7 +193,7 @@ public class OrmQueryProperties implements Serializable {
* Return the expressions used to filter on this path. This should be a many path to use this
* method.
*/
@SuppressWarnings({"rawtypes", "unchecked"})
@SuppressWarnings({"unchecked"})
public <T> SpiExpressionList<T> filterMany(Query<T> rootQuery) {
if (filterMany == null) {
FilterExprPath exprPath = new FilterExprPath(path);