Monday June 04, 2007 Sandip Chitale's blog (scblog)
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
NOTE: I have moved many of my modules to NetBeans Plugin Portal . Please check there for latest versions of modules described on this blog.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| contact: sandip dot chitale at sun dot com | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Posted by Thomas Zillinger on June 06, 2007 at 03:10 AM PDT #
Posted by John Parker on June 11, 2007 at 08:38 AM PDT #
In fact during 6.0 development the infrastructure for Java language was changed from JMI/MDR based to Retouche/Javac based. As a result a lot of regressions appeared and then were addressed. I thought this feature was one such feature and thought it will come back. I was surprised to find out that will not be the case. I will let the developers know. You can send an email on nbdev@netbeans.org.
Sorry this is not very satisfactory.
Posted by Sandip on June 11, 2007 at 09:44 AM PDT #
Java 5 improves it somewhat:
import static java.util.Arrays.asList;
import static java.util.Collections.unmodifiableSet;
...
static final Set<String> stringSet =
___unmodifiableSet(
______new HashSet<String>(
_________asList("foo", "bar", "baz")));
Posted by Rafael de F. Ferreira on October 24, 2007 at 01:33 PM PDT #
varargs of course. I had missed that. Thanks.
Posted by Sandip on October 24, 2007 at 01:56 PM PDT #