diff options
author | Teemu Suo-Anttila <teemusa@vaadin.com> | 2014-12-19 09:01:23 +0200 |
---|---|---|
committer | Teemu Suo-Anttila <teemusa@vaadin.com> | 2014-12-19 08:06:37 +0000 |
commit | c1c3564717388708e34f7ec6e9beeb09e4c2d6a4 (patch) | |
tree | 1846ee2299d710e3062408046152c7145e851b75 /client | |
parent | ab07a2ef324c13614cea34bf2efd84aee75edcd0 (diff) | |
download | vaadin-framework-c1c3564717388708e34f7ec6e9beeb09e4c2d6a4.tar.gz vaadin-framework-c1c3564717388708e34f7ec6e9beeb09e4c2d6a4.zip |
Fix Range.restrictTo to work with non-intersecting ranges(#13334)
Also adds a special case for isSubsetOf with two empty ranges.
Change-Id: I9b4c854051bd760bbac05c7a0bc2e5418371e90e
Diffstat (limited to 'client')
-rw-r--r-- | client/src/com/vaadin/client/data/AbstractRemoteDataSource.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/client/src/com/vaadin/client/data/AbstractRemoteDataSource.java b/client/src/com/vaadin/client/data/AbstractRemoteDataSource.java index 2afc8185ca..c6aa7c6291 100644 --- a/client/src/com/vaadin/client/data/AbstractRemoteDataSource.java +++ b/client/src/com/vaadin/client/data/AbstractRemoteDataSource.java @@ -589,6 +589,7 @@ public abstract class AbstractRemoteDataSource<T> implements DataSource<T> { private Range getMinCacheRange() { Range availableDataRange = getAvailableRangeForCache(); + Range minCacheRange = cacheStrategy.getMinCacheRange( requestedAvailability, cached, availableDataRange); |