cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dariusz Ɓuksza <dariusz.luk...@gmail.com>
Subject Useless if statement Cocoon 3 cocoon-sitemap in WildcardMather.java
Date Sat, 28 Mar 2009 13:54:07 GMT
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

Mime
View raw message