[ 
https://issues.apache.org/jira/browse/PORTLETBRIDGE-234?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14003668#comment-14003668
 ] 

Ross Clewley edited comment on PORTLETBRIDGE-234 at 5/20/14 5:25 PM:
---------------------------------------------------------------------

[^portletbridge-234.patch] changes the signature of the remove method such that 
the key parameter is of type Object. The method can therefore override the 
superclass remove method. I've also changed the generics parameterization of 
the class so that it's not using BridgeRequestScope as a generics type 
parameter. 

The TCK test have been run and pass. 


was (Author: rclewley):
!portletbridge-234.patch! changes the signature of the remove method such that 
the key parameter is of type Object. The method can therefore override the 
superclass remove method. I've also changed the generics parameterization of 
the class so that it's not using BridgeRequestScope as a generics type 
parameter. 

The TCK test have been run and pass. 

> remove(String) in BridgeRequestScopeRepository and remove(Object) in HashMap 
> have the same erasure.
> ---------------------------------------------------------------------------------------------------
>
>                 Key: PORTLETBRIDGE-234
>                 URL: https://issues.apache.org/jira/browse/PORTLETBRIDGE-234
>             Project: MyFaces Portlet Bridge
>          Issue Type: Bug
>          Components: Impl
>    Affects Versions: 3.0.0
>            Reporter: Ross Clewley
>            Assignee: Michael Freedman
>         Attachments: portletbridge-234.patch
>
>
> Compiling the portlet bridge impl project on trunk produces the following 
> compilation error.
> [ERROR] Failed to execute goal 
> org.apache.maven.plugins:maven-compiler-plugin:2.3.1:compile 
> (default-compile) on project portlet-bridge-impl: Compilation failure
> [ERROR] 
> /myfaces-trunk/impl/src/main/java/org/apache/myfaces/portlet/faces/bridge/scope/BridgeRequestScopeRepository.java:[55,28]
>  error: name clash: remove(String) in BridgeRequestScopeRepository and 
> remove(Object) in HashMap have the same erasure, yet neither overrides the 
> other



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to