Skip to content

Commit

Permalink
Inspection rework
Browse files Browse the repository at this point in the history
  • Loading branch information
Aaron Klish committed Feb 6, 2020
1 parent 1faa737 commit b855562
Show file tree
Hide file tree
Showing 7 changed files with 10 additions and 14 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,6 @@ public class PaginationImpl implements Pagination {
*/
public enum PaginationKey { offset, number, size, limit, totals }

public static final int DEFAULT_OFFSET = 0;
public static final int DEFAULT_PAGE_LIMIT = 500;
public static final int MAX_PAGE_LIMIT = 10000;

// For specifying which page of records is to be returned in the response
public static final String PAGE_NUMBER_KEY = "page[number]";

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,9 @@
import example.Publisher;
import example.Right;
import example.UpdateAndCreate;
import example.packageshareable.ContainerWithPackageShare;
import example.packageshareable.ShareableWithPackageShare;
import example.packageshareable.Untransferable;
import example.nontransferable.ContainerWithPackageShare;
import example.nontransferable.ShareableWithPackageShare;
import example.nontransferable.Untransferable;
import nocreate.NoCreateEntity;

import java.util.HashSet;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -66,9 +66,9 @@
import example.Parent;
import example.Right;
import example.Shape;
import example.packageshareable.ContainerWithPackageShare;
import example.packageshareable.ShareableWithPackageShare;
import example.packageshareable.Untransferable;
import example.nontransferable.ContainerWithPackageShare;
import example.nontransferable.ShareableWithPackageShare;
import example.nontransferable.Untransferable;
import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.Test;
import org.junit.jupiter.api.TestInstance;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* Licensed under the Apache License, Version 2.0
* See LICENSE file in project root for terms.
*/
package example.packageshareable;
package example.nontransferable;

import com.yahoo.elide.annotation.Include;
import com.yahoo.elide.annotation.NonTransferable;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* Licensed under the Apache License, Version 2.0
* See LICENSE file in project root for terms.
*/
package example.packageshareable;
package example.nontransferable;

import com.yahoo.elide.annotation.Include;
import com.yahoo.elide.annotation.NonTransferable;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* Licensed under the Apache License, Version 2.0
* See LICENSE file in project root for terms.
*/
package example.packageshareable;
package example.nontransferable;

import com.yahoo.elide.annotation.Include;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@
* See LICENSE file in project root for terms.
*/
@NonTransferable
package example.packageshareable;
package example.nontransferable;

import com.yahoo.elide.annotation.NonTransferable;

0 comments on commit b855562

Please sign in to comment.