Author: julien(a)jboss.com
Date: 2008-03-21 06:14:06 -0400 (Fri, 21 Mar 2008)
New Revision: 10360
Modified:
modules/portlet/trunk/portlet/src/main/java/org/jboss/portal/portlet/impl/info/ContainerCapabilitiesInfo.java
Log:
revert back change about supporting by default the english locale as cannot find a mention
of it in the spec and it breaks the JSR286 assertion 34 (The getSupportedLocales method of
the PortletConfig interface returns the supported locales found in the portlet definition
in the deployment descriptor with the supported-locale element or an empty enumeration if
no supported locales are defined for the current portlet definition.)
Modified:
modules/portlet/trunk/portlet/src/main/java/org/jboss/portal/portlet/impl/info/ContainerCapabilitiesInfo.java
===================================================================
---
modules/portlet/trunk/portlet/src/main/java/org/jboss/portal/portlet/impl/info/ContainerCapabilitiesInfo.java 2008-03-21
02:36:35 UTC (rev 10359)
+++
modules/portlet/trunk/portlet/src/main/java/org/jboss/portal/portlet/impl/info/ContainerCapabilitiesInfo.java 2008-03-21
10:14:06 UTC (rev 10360)
@@ -37,8 +37,6 @@
/**
* This object holds the content type and mode capabilities.
- * <p/>
- * Todo : use the media type object ?
*
* @author <a href="mailto:julien@jboss.org">Julien Viet</a>
* @author <a href="mailto:chris.laprun@jboss.com">Chris
Laprun</a>
@@ -70,8 +68,6 @@
//
this.supportedLocales = new HashSet<Locale>();
- this.supportedLocales.add(Locale.ENGLISH);
-
this.supportedModes = supportedModes;
this.supportedWindowStates = supportedWindowStates;
}
Show replies by date