Neil Griffin created PLUTO-763: ---------------------------------- Summary: 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.1, 3.0.0 Reporter: Neil Griffin Assignee: Neil Griffin 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)