You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Matt Benson (JIRA)" <de...@myfaces.apache.org> on 2011/05/19 00:18:47 UTC
[jira] [Updated] (EXTVAL-132) DefaultValidationParameterFactory
call to NullValueAwareConcurrentHashMap is considered ambiguous by Eclipse
JDT compiler
[ https://issues.apache.org/jira/browse/EXTVAL-132?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Matt Benson updated EXTVAL-132:
-------------------------------
Status: Patch Available (was: Open)
> DefaultValidationParameterFactory call to NullValueAwareConcurrentHashMap is considered ambiguous by Eclipse JDT compiler
> -------------------------------------------------------------------------------------------------------------------------
>
> Key: EXTVAL-132
> URL: https://issues.apache.org/jira/browse/EXTVAL-132
> Project: MyFaces Extensions Validator
> Issue Type: Improvement
> Reporter: Matt Benson
> Attachments: EXTVAL-132.patch.txt
>
>
> NVACHM provides (V) and (Class<V>) constructors. When type parameters of the constructed map are <Class, Class> and the constructor argument is a Class object the call is determined ambiguous as the argument is both a V and a Class<V>. The provided patch satisfies the Eclipse compiler and works for both trunk and the -20 branch (it is assumed that it will work in the -11 branch as well). Don't shut out an entire IDE. ;)
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira