LOG.debug("Using PortletPreferencesService: "
+ preferencesService.getClass().getName());
}
// Put default portlet preferences into preferences map.
PortletEntity entity = window.getPortletEntity();
defaultPreferences = entity.getDefaultPreferences();
for (int i = 0; i < defaultPreferences.length; i++) {
preferences.put(defaultPreferences[i].getName(),
(InternalPortletPreference) defaultPreferences[i].clone());
}
if (LOG.isDebugEnabled()) {