Hi,

While browsing Cocoon 3 soruces I found useless if statemnt in module
cocoon-sitemap, class WidcardMather line 41. If variable
matchingResult is null method would return null (line 37) and another
check if matchingResult is not null in line 41 unecessary.

Correct me if I'm wrong.

-- 
Blog: http://luksza.org
LinkedIn: http://www.linkedin.com/in/dariuszluksza

Attachment: uselessIfStatementInWildcardMatcher.patch
Description: Binary data

Reply via email to