tinne created GROOVY-7936:
-----------------------------

             Summary: renaming static imports
                 Key: GROOVY-7936
                 URL: https://issues.apache.org/jira/browse/GROOVY-7936
             Project: Groovy
          Issue Type: Bug
          Components: Documentation
    Affects Versions: 2.4.7
         Environment: http://groovy-lang.org/style-guide.html section 15
            Reporter: tinne
            Priority: Trivial


The Groovy [style guide|http://groovy-lang.org/style-guide.html] introduces the 
renaming {{import... as}} statement and discusses {{import static}}. It should 
not leave as an exercise that {{import static... as}} works as well, but simply 
introduce it by a simple example, as in
{noformat}
import static java.lang.Math.abs as mabs
println mabs(-4)
{noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to