[ 
https://issues.apache.org/jira/browse/PLUTO-763?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Neil Griffin closed PLUTO-763.
------------------------------
    Resolution: Fixed

Fixed in commit 
[e13c1f83fe12531121f595cd94f30c1d49a83937|https://github.com/apache/portals-pluto/commit/e13c1f83fe12531121f595cd94f30c1d49a83937].

> Avoid the necessity of having a default serialVersionUID in the image 
> selector portlet demos
> --------------------------------------------------------------------------------------------
>
>                 Key: PLUTO-763
>                 URL: https://issues.apache.org/jira/browse/PLUTO-763
>             Project: Pluto
>          Issue Type: Improvement
>          Components: demo portlets
>    Affects Versions: 3.0.0, 3.0.1
>            Reporter: Neil Griffin
>            Assignee: Neil Griffin
>            Priority: Major
>             Fix For: 3.0.2
>
>
> The PortletV3Demo and PortletHubDemo projects both have an image selector 
> portlet that relies on the following data structure in order to map values in 
> a drop-down list to relative image paths:
> {code:java|title=Constants.java}
> public final static Map<String, String> imgMap = new HashMap<String, 
> String>() {
>    private static final long serialVersionUID = 1L;
> {
>    put("baseball", "/resources/images/baseball-trans.gif");
>    put("golfball", "/resources/images/golfball-trans.gif");
>    put("fussball", "/resources/images/fussball-trans.gif");
> }};
> {code}
> This task involves refactoring the structure so as to avoid setting a default 
> {{serialVersionUID}}.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to