Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
1.6
-
None
Description
e.g.
@Singleton class MyService{ } println MyService.instance // it works as expected println MyService.getInstance() //throw exception: No signature of method: static MyService.getInstance() is applicable for argument types: () values: []
p.s. i found an old issue about Singleton in Groovy that probably could be closed GROOVY-1870