What is the point of static {} inside a Groovy class?
Wha开发者_如何学Pythont effect does static {}
have?
There is one such code block in SimpleXlsSlurper for example.
There is no point in having an empty static initializer, neither in Java nor in Groovy.
精彩评论