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

Add also in XBuilder a static method create to create a new XBuilder #60

Closed
alexandrenavarro opened this issue Jan 12, 2014 · 2 comments
Labels
Milestone

Comments

@alexandrenavarro
Copy link

Add also in XBuilder a static method create to create a new XBuilder

@mkarneim mkarneim removed this from the 3.0.0 milestone Aug 31, 2014
@drekbour
Copy link
Contributor

drekbour commented Sep 1, 2014

ooo, a good one - a static factory method for the builder - we've written this a dozen times so it would be nice to not have to. The range of possible names is quite great so it would need to be flexible (as the name of the builder class itself is). For instance all of the below have been used by my team in different contexts.

public static MyThingBuilder aMyThingBuilder() {...}
public static MyThingBuilder myThingBuilder() {...}
public static MyThingBuilder aMyThing() {...}
public static MyThingBuilder myThing() {...}

@drekbour
Copy link
Contributor

Picking this one up

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

No branches or pull requests

3 participants