+1 On Mon, Jul 21, 2014 at 10:49 AM, Marius Dumitru Florea <[email protected]> wrote:
+1
Thanks, Marius
On Jul 18, 2014 7:39 PM, "Sergiu Dumitriu" <[email protected]> wrote:
Hi devs,
The current codestyle for wildcard type parameters is to use spaces around it, as in:
List< ? > Map< ? , ? > Map<String, ? >
As opposed to specific parameters:
List<String> List<T> Map<String, String> Map<T, T>
This might have a historical reason, when we defined the codestyle, Eclipse couldn't make the difference between "?" as a wildcard type and "?" as the ternary operator.
The standard Java, Eclipse, and IDEA style conventions don't use the extra space.
Personally, I don't think that the wildcard needs the extra space, so +1 for this change.
-- Sergiu Dumitriu http://purl.org/net/sergiu _______________________________________________ devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs
_______________________________________________ devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs
-- Thomas Mortagne