From 8f456a766cec9513aa42bc31c48abd84e732446f Mon Sep 17 00:00:00 2001 From: Crim Date: Fri, 23 Oct 2020 09:53:21 +0900 Subject: [PATCH] fix checkstyle violation --- README.md | 2 +- .../prospect/ProspectQueryRequest.java | 20 +++++++++---------- 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/README.md b/README.md index 0751bc5..ec38d86 100644 --- a/README.md +++ b/README.md @@ -271,7 +271,7 @@ Steps for performing a release: 2. Validate and then commit version: `mvn versions:commit` 3. Update CHANGELOG and README files. 4. Merge to master. -5. Deploy to Maven Central: mvn clean deploy -P release +5. Deploy to Maven Central: `mvn clean deploy -P release` 7. Create release on Github project, uploading JAR artifacts. ## Changelog diff --git a/src/main/java/com/darksci/pardot/api/request/prospect/ProspectQueryRequest.java b/src/main/java/com/darksci/pardot/api/request/prospect/ProspectQueryRequest.java index 8bd57b3..851d7fa 100644 --- a/src/main/java/com/darksci/pardot/api/request/prospect/ProspectQueryRequest.java +++ b/src/main/java/com/darksci/pardot/api/request/prospect/ProspectQueryRequest.java @@ -110,6 +110,16 @@ public ProspectQueryRequest withAssignUser(final String userEmail) { return setParam("assigned_to_user", userEmail); } + /** + * Retrieve only archived/non-archived prospects. + * @param onlyReturnArchived True to only get returned archived entries. + * @return BaseQueryRequest + */ + @Override + public ProspectQueryRequest withArchivedOnly(final boolean onlyReturnArchived) { + return super.withArchivedOnly(onlyReturnArchived); + } + /** * Only select prospects who are archived. * @return RequestBuilder @@ -126,16 +136,6 @@ public ProspectQueryRequest withNotArchivedOnly() { return super.withArchivedOnly(false); } - /** - * Retrieve only archived/non-archived prospects. - * @param onlyReturnArchived True to only get returned archived entries. - * @return BaseQueryRequest - */ - @Override - public ProspectQueryRequest withArchivedOnly(final boolean onlyReturnArchived) { - return super.withArchivedOnly(onlyReturnArchived); - } - /** * Only select prospects who have a grade equal to the specified grade. * @param grade Grade in format of "A", "A+", "B", "C-"