Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
3.0.0, 3.0.1
-
None
Description
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:
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"); }};
This task involves refactoring the structure so as to avoid setting a default serialVersionUID.