File tree 1 file changed +3
-3
lines changed
src/main/java/org/springframework/data/domain 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 20
20
import org .springframework .util .Assert ;
21
21
22
22
/**
23
- * Basic Java Bean implementation of {@code Pageable}.
23
+ * Basic Java Bean implementation of {@link Pageable}.
24
24
*
25
25
* @author Oliver Gierke
26
26
* @author Thomas Darimont
@@ -109,7 +109,7 @@ public Sort getSort() {
109
109
* @see org.springframework.data.domain.Pageable#next()
110
110
*/
111
111
@ Override
112
- public Pageable next () {
112
+ public PageRequest next () {
113
113
return new PageRequest (getPageNumber () + 1 , getPageSize (), getSort ());
114
114
}
115
115
@@ -127,7 +127,7 @@ public PageRequest previous() {
127
127
* @see org.springframework.data.domain.Pageable#first()
128
128
*/
129
129
@ Override
130
- public Pageable first () {
130
+ public PageRequest first () {
131
131
return new PageRequest (0 , getPageSize (), getSort ());
132
132
}
133
133
You can’t perform that action at this time.
0 commit comments