diff --git a/README.md b/README.md index 3b946e436..3abaa0d69 100644 --- a/README.md +++ b/README.md @@ -35,6 +35,7 @@ The documentation for this project can be found on [javadoc.io](https://www.java | Spring Data Aerospike | Spring Boot | Aerospike Client | Aerospike Reactor Client | Aerospike Server | |:----------------------|:-------------|:-----------------|:-------------------------|:-----------------| +| 4.2.x | 3.0.x | 6.1.x | 6.1.x | 5.2.x.x + | | 4.1.x | 3.0.x | 6.1.x | 6.1.x | 5.2.x.x + | | 3.5.x | 2.7.x | 6.1.x | 6.1.x | 5.2.x.x + | | 3.4.x | 2.6.x | 5.1.x | 5.1.x | 5.2.x.x + | @@ -57,7 +58,7 @@ Add the Maven dependency: com.aerospike spring-data-aerospike - 4.0.0 + 4.2.0 ``` diff --git a/pom.xml b/pom.xml index 222e3d3d9..705c18827 100644 --- a/pom.xml +++ b/pom.xml @@ -6,7 +6,7 @@ com.aerospike spring-data-aerospike - 4.1.0 + 4.2.0 Spring Data Aerospike Aerospike Inc. @@ -16,27 +16,27 @@ org.springframework.data.build spring-data-parent - 3.0.2 + 3.0.4 17 17 UTF-8 - 3.0.2 - 3.0.2 + 3.0.4 + 3.0.4 4.0.1 - 3.0.3 + 3.0.5 3.3.0 1.6 - 6.1.7 + 6.1.8 6.1.2 - 3.5.3 - 2.3.1 - 2.12.2 + 3.5.4 + 2.3.2 + 2.12.5 1.18.26 4.2.0 - 1.4.5 + 1.4.6 8.0.0.Final diff --git a/src/main/java/org/springframework/data/aerospike/query/FilterOperation.java b/src/main/java/org/springframework/data/aerospike/query/FilterOperation.java index 0293cd1a5..518480bf3 100644 --- a/src/main/java/org/springframework/data/aerospike/query/FilterOperation.java +++ b/src/main/java/org/springframework/data/aerospike/query/FilterOperation.java @@ -835,8 +835,8 @@ public Exp filterExp(Map map) { // + 1L to the valueEnd since the valueEnd is exclusive Exp upperLimit = Exp.val(getValue2(map).toLong() + 1L); - // Long.MAX_VALUE will not be processed correctly if given as an inclusive parameter as it will cause - // overflow + // Long.MAX_VALUE will not be processed correctly if given as an inclusive parameter + // as it will cause overflow if (getValue2(map).toLong() == Long.MAX_VALUE) upperLimit = null; @@ -864,8 +864,8 @@ public Exp filterExp(Map map) { // + 1L to the valueEnd since the valueEnd is exclusive (both begin and values should be included). Exp upperLimit = Exp.val(getValue2(map).toLong() + 1L); - // Long.MAX_VALUE will not be processed correctly if given as an inclusive parameter as it will cause - // overflow + // Long.MAX_VALUE will not be processed correctly if given as an inclusive parameter + // as it will cause overflow if (getValue2(map).toLong() == Long.MAX_VALUE) upperLimit = null;