Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

QueryParams Builder again #76

Merged
merged 1 commit into from Nov 4, 2016
Merged

QueryParams Builder again #76

merged 1 commit into from Nov 4, 2016

Conversation

mikekwright
Copy link
Contributor

Ran into a situation while working this the consul-api where (as stated in another PR) the need for both the DataCenter and blocking information to be set was required.

Since the previous PR has not had work done on it in almost a year and noticing the significant number of files changed, we just wanted to go with a smaller PR that was targeted at just the QueryParams building aspect.

Also adjusted the QueryParams constructors to all use the newly added private total constructor.

@@ -10,6 +10,47 @@
* @author Vasily Vasilkov (vgv@ecwid.com)
*/
public final class QueryParams implements UrlParameters {
public static final class Builder {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Consistent formatting. This project uses tabs.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

great, I will go back and adjust. Thanks for catching that.

@mikekwright
Copy link
Contributor Author

Is there anything else that would be useful to have in this PR?

@vgv vgv merged commit d476af7 into Ecwid:master Nov 4, 2016
@vgv
Copy link
Member

vgv commented Nov 4, 2016

Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants