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

Fix wrongly named getInstance() #7

Closed
keilw opened this issue May 3, 2014 · 1 comment
Closed

Fix wrongly named getInstance() #7

keilw opened this issue May 3, 2014 · 1 comment
Labels

Comments

@keilw
Copy link
Member

keilw commented May 3, 2014

As in Java 8 a no-op factory returning a singleton is called getInstance(), not of() which is used only with arguments.
E.g. javax.microedition.event.EventManager, etc.

@keilw
Copy link
Member Author

keilw commented Sep 6, 2014

There are mixed cases, also in the RI where of() and of(someArgument) are used side-by side. It may be inconsistent with other parts of Java 8, but seems consistent here to use a no-op of().

@keilw keilw closed this as completed Sep 6, 2014
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

1 participant