Skip to content

Commit

Permalink
Removing unused parameters from processPagination method
Browse files Browse the repository at this point in the history
  • Loading branch information
BojithaPiyathilake committed Jul 7, 2022
1 parent 0c89c93 commit cd64d81
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -392,7 +392,7 @@ public SCIMResponse listWithGET(UserManager userManager, String filter, Integer
* @param userManager User manager.
* @param filter Filter to be executed.
* @param cursorString Cursor value for pagination.
* @param count Number of required results.
* @param countInt Number of required results.
* @param sortBy SortBy.
* @param sortOrder Sorting order.
* @param domainName Domain name.
Expand All @@ -401,11 +401,12 @@ public SCIMResponse listWithGET(UserManager userManager, String filter, Integer
* @return SCIM response.
*/
@Override
public SCIMResponse listWithGET(UserManager userManager, String filter, String cursorString, Integer count,
public SCIMResponse listWithGET(UserManager userManager, String filter, String cursorString, Integer countInt,
String sortBy, String sortOrder, String domainName, String attributes,
String excludeAttributes) {

try {
Integer count = ResourceManagerUtil.processCount(countInt);
//For handling null cursor and decoding the cursor to get the value and direction.
Cursor cursor = ResourceManagerUtil.processCursor(cursorString);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -494,10 +494,9 @@ public static Cursor processCursor(String cursor) {
*
* @param startIndex Starting index in the request.
* @param cursor Cursor value used for cursor pagination.
* @param count Number of results to be returned.
* @return String of the type of pagination.
*/
public static String processPagination(Integer startIndex, String cursor, Integer count)
public static String processPagination(Integer startIndex, String cursor)
throws CharonException {

if (startIndex != null && cursor != null) {
Expand Down

0 comments on commit cd64d81

Please sign in to comment.