mirror of
https://github.com/dalbodeule/snap-admin.git
synced 2025-06-09 05:48:20 +00:00
Removed unused variable
This commit is contained in:
parent
8c0be6982d
commit
53b9bdc528
@ -91,12 +91,9 @@ public class DbAdminRepository {
|
|||||||
public List<DbObject> search(DbObjectSchema schema, String query, Set<QueryFilter> queryFilters) {
|
public List<DbObject> search(DbObjectSchema schema, String query, Set<QueryFilter> queryFilters) {
|
||||||
CustomJpaRepository jpaRepository = schema.getJpaRepository();
|
CustomJpaRepository jpaRepository = schema.getJpaRepository();
|
||||||
|
|
||||||
long maxElement = count(schema, query, queryFilters);
|
|
||||||
|
|
||||||
return jpaRepository.search(query, queryFilters).stream()
|
return jpaRepository.search(query, queryFilters).stream()
|
||||||
.map(o -> new DbObject(o, schema))
|
.map(o -> new DbObject(o, schema))
|
||||||
.toList();
|
.toList();
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -53,7 +53,6 @@ public class PaginationInfo {
|
|||||||
*/
|
*/
|
||||||
private int pageSize;
|
private int pageSize;
|
||||||
|
|
||||||
// TODO: Check if used
|
|
||||||
private long maxElement;
|
private long maxElement;
|
||||||
|
|
||||||
private FilterRequest filterRequest;
|
private FilterRequest filterRequest;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user