The addtional work is updated !
fee077a


--
Tao Tao
IDE
Liferay, Inc. www.liferay.com


On Tue, Jul 16, 2013 at 1:03 PM, Gregory Amerson
<notifications@github.com>wrote:

> In
> tools/plugins/com.liferay.ide.portlet.core/src/com/liferay/ide/portlet/core/operation/NewPortletClassDataModelProvider.java:
>
> > @@ -266,12 +243,12 @@ else if( CLASS_NAME.equals( propertyName ) )
> >          }
> >          else if( PORTLET_NAME.equals( propertyName ) || LIFERAY_PORTLET_NAME.equals( propertyName ) )
> >          {
> > -            return getProperty( CLASS_NAME ).toString().toLowerCase().replaceAll( PORTLET_SUFFIX_PATTERN, StringPool.EMPTY );
> > +            return getPortletNameFromClassName( getProperty( CLASS_NAME ).toString().replaceAll( PORTLET_SUFFIX_PATTERN, StringPool.EMPTY ) );
>
> Lets move the logic of "replaceAll(PORTLET_SUFFIX_PATTERN) down into the
> getPortletNameFromClassName method itself.
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/gamerson/liferay-ide/pull/276/files#r5208570>
> .
>