Details
-
Type:
Wish
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 1.0-beta-4
-
Component/s: None
-
Labels:None
-
Number of attachments :
Description
I do wish Groovy would add some extra (Python like) syntax sugar for less verbose imports, along the lines of:
import Xxxxx, Yyyyy, Zzzz from java.util;
or
from java.util import Xxxxx, Yyyyy, Zzzzz;
For ease of scanning, should look like other imports...
How about:
import java.util.Xxxxx,Yyyyy,Zzzzz;
or for consistency:
import java.util.[Xxxxx,Yyyyy,Zzzzz];