Uploaded image for project: 'Pluto'
  1. Pluto
  2. PLUTO-763

Avoid the necessity of having a default serialVersionUID in the image selector portlet demos

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.0.0, 3.0.1
    • 3.1.0
    • demo portlets
    • 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.

      Attachments

        Activity

          People

            ngriffin7a Neil Griffin (Inactive)
            ngriffin7a Neil Griffin (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: