You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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().
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.
The text was updated successfully, but these errors were encountered: