sorry ,I write the wrong word.I will correct it right now.



On 2013/4/23 11:32, Samuel Kong wrote:
>
> In 
> portal-impl/src/com/liferay/portal/service/impl/LayoutLocalServiceImpl.java:
>
> > +		String sitemapPriority = typeSettingsProperties.getProperty(
> > +			"sitemap-priority");
> > +		String sitemapInclude = typeSettingsProperties.getProperty(
> > +			"sitemap-include");
> > +		String sitemapChangeFrequency = typeSettingsProperties.getProperty(
> > +			"sitemap-changefreq");
> > +
> > +		if (Validator.isNotNull(sitemapInclude) &&
> > +			!(sitemapInclude.equals("0") || sitemapInclude.equals("1"))) {
> > +
> > +			throw new InvalidSiteMapIncludeException();
> > +		}
> > +
> > +		if (Validator.isNotNull(sitemapPriority)) {
> > +			try {
> > +				Float sitemapPriotity = Float.valueOf(sitemapPriority);
>
> Really? I just did a search in the dictionary and couldn't find anything.
>
> —
> Reply to this email directly or view it on GitHub 
> <https://github.com/samuelkong/liferay-portal/pull/285/files#r3909203>.
>