Author: ssolsagl
Date: 2007-05-09 15:42:02 +0200 (Wed, 09 May 2007)
New Revision: 5040
Modified:
trunk/core-api/src/main/java/no/schibstedsok/searchportal/result/BlogSearchResultItem.java
Log:
doc + more checks
Modified:
trunk/core-api/src/main/java/no/schibstedsok/searchportal/result/BlogSearchResultItem.java
===================================================================
---
trunk/core-api/src/main/java/no/schibstedsok/searchportal/result/BlogSearchResultItem.java
2007-05-09 13:28:06 UTC (rev 5039)
+++
trunk/core-api/src/main/java/no/schibstedsok/searchportal/result/BlogSearchResultItem.java
2007-05-09 13:42:02 UTC (rev 5040)
@@ -187,9 +187,10 @@
}
/**
- * If the blog result does not refert to a parentUrl it means that
- * we have the frontpage of the article. Otherwise it may a comment
- * from the article.
+ * Todo: Come up with a better way to find out wether the result is a blog
frontpage or not.
+ *
+ * if blog or comments is not null and we got a parenturl that is not
equal to url, then
+ * we have a frontpage ?
* @return if entry is blog frontpage.
*/
public boolean isFrontPage() {
_______________________________________________
Kernel-commits mailing list
[email protected]
http://sesat.no/mailman/listinfo/kernel-commits