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

Make buildResponse a required field of StaticRequestBuilder #692

Merged
merged 1 commit into from
Sep 15, 2017

Conversation

dalvizu
Copy link
Contributor

@dalvizu dalvizu commented Sep 14, 2017

Per Joshua Bloch's description in "Effective Java", required fields of
a builder should be compile-time required.

Context - this ticket:

https://github.com/spinnaker/halyard/issues/617

Appears to have been allowed because a required field was missing
during a large refactor:

#283

Per Joshua Bloch's description in "Effective Java" - required fields of
a builder should be compile-time required.

Context - this ticket:

https://github.com/spinnaker/halyard/issues/617

Appears to have been allowed because a required field was missing
during a large refactor:

spinnaker#283
Copy link
Member

@lwander lwander left a comment

Choose a reason for hiding this comment

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

Nice! thanks :)

@lwander lwander merged commit 00e52f7 into spinnaker:master Sep 15, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants