fixed conditions evaluations, that always resulted in true (#844)

Signed-off-by: Bogdan Bondar <Bogdan.Bondar@bosch-si.com>
This commit is contained in:
Bondar Bogdan
2019-05-23 09:12:42 +02:00
committed by Dominic Schabel
parent 314c74468a
commit d5c373e420
3 changed files with 3 additions and 3 deletions

View File

@@ -340,7 +340,7 @@ public class JpaSystemManagement implements CurrentTenantCacheKeyGenerator, Syst
}
return null;
}));
} while (tenants.hasNext() && (query = tenants.nextPageable()) != null);
} while ((query = tenants.nextPageable()) != Pageable.unpaged());
}
}