this.parameters.put(param.getName(),
new Attribute(param.getValue()));
}
}
for (IPortletPreference pref : def.getPortletPreferences()) {
<BUG>List<Attribute> attributes = new ArrayList<>();
for (String value : pref.getValues()) {
attributes.add(new Attribute(value));
}</BUG>
this.portletPreferences.put(pref.getName(), new StringListAttribute(pref.getValues()));

this.parameters.put(param.getName(),
new Attribute(param.getValue()));
}
}
for (IPortletPreference pref : def.getPortletPreferences()) {
this.portletPreferences.put(pref.getName(), new StringListAttribute(pref.getValues()));
