Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Queue
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
EIP
Labrador
Queue
Merge requests
!724
Deploy
Code
Review changes
Check out branch
Open in Workspace
Download
Patches
Plain diff
Expand sidebar
Merged
Deploy
development
into
master
Overview
1
Commits
128
Pipelines
0
Changes
4
Merged
Deploy
Ruben Backx
requested to merge
development
into
master
Oct 23, 2023
Overview
1
Commits
128
Pipelines
0
Changes
4
0
0
Merge request reports
Viewing commit
c23af69a
Prev
Next
Show latest version
4 files
+
18
−
10
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
4
c23af69a
add ruben feedback
· c23af69a
Henry Page
authored
Nov 10, 2023
src/main/java/nl/tudelft/queue/PageUtil.java
+
4
−
4
View file @ c23af69a
Edit in single-file editor
Open in Web IDE
Show full file
@@ -59,10 +59,10 @@ public class PageUtil {
/**
* Turns the given list of values into a page of values which represent a sublist of the original.
*
* @param pageable
The pageable describing what to show on the page.
* @param values
The total list of values of which a page needs to be shown.
* @param <T>
The type of the values in the page.
* @return
The Page cut out from the original list of values.
* @param pageable The pageable describing what to show on the page.
* @param values The total list of values of which a page needs to be shown.
* @param <T> The type of the values in the page.
* @return The Page cut out from the original list of values.
*/
public
static
<
T
>
Page
<
T
>
toPage
(
Pageable
pageable
,
List
<
T
>
values
)
{
return
toPage
(
pageable
,
values
,
null
);
Loading