Commit 8892a486 authored by Matija Obreza's avatar Matija Obreza

spring-framework 3.2.10.RELEASE, spring-data-jpa 1.6.2.RELEASE

parent 3c6430c1
......@@ -55,7 +55,7 @@
<log4j.version>1.2.17</log4j.version>
<aspectj.version>1.7.2</aspectj.version>
<spring.framework.version>3.2.9.RELEASE</spring.framework.version>
<spring.framework.version>3.2.10.RELEASE</spring.framework.version>
<spring.security.version>3.2.1.RELEASE</spring.security.version>
<spring.security.oauth2.version>1.0.5.RELEASE</spring.security.oauth2.version>
<org.springframework.social-version>1.0.3.RELEASE</org.springframework.social-version>
......@@ -485,7 +485,7 @@
<dependency>
<groupId>org.springframework.data</groupId>
<artifactId>spring-data-jpa</artifactId>
<version>1.4.4.RELEASE</version>
<version>1.6.2.RELEASE</version>
</dependency>
<dependency>
<groupId>org.jamel.dbf</groupId>
......
......@@ -118,4 +118,24 @@ public class LucenePage<T> implements Page<T> {
public Pageable previousPageable() {
return new PageRequest(number - 1, size, getSort());
}
@Override
public boolean hasNext() {
return content.size() == size;
}
@Override
public boolean hasPrevious() {
return number > 1;
}
@Override
public boolean isFirst() {
return number == 0;
}
@Override
public boolean isLast() {
return content.size() < size;
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment