[Yanel-commits] rev 44040 -
public/yanel/trunk/src/contributions/resources/search/src/java/org/wyona/yanel/impl/resources/search
michi at wyona.com
michi at wyona.com
Thu Aug 6 22:34:40 CEST 2009
Author: michi
Date: 2009-08-06 22:34:40 +0200 (Thu, 06 Aug 2009)
New Revision: 44040
Modified:
public/yanel/trunk/src/contributions/resources/search/src/java/org/wyona/yanel/impl/resources/search/Result.java
Log:
logger added
Modified: public/yanel/trunk/src/contributions/resources/search/src/java/org/wyona/yanel/impl/resources/search/Result.java
===================================================================
--- public/yanel/trunk/src/contributions/resources/search/src/java/org/wyona/yanel/impl/resources/search/Result.java 2009-08-06 14:01:29 UTC (rev 44039)
+++ public/yanel/trunk/src/contributions/resources/search/src/java/org/wyona/yanel/impl/resources/search/Result.java 2009-08-06 20:34:40 UTC (rev 44040)
@@ -2,11 +2,15 @@
import java.util.Date;
+import org.apache.log4j.Logger;
+
/**
*
*/
public class Result {
+ private static Logger log = Logger.getLogger(Result.class);
+
private String url;
private String title;
private String desc;
@@ -18,6 +22,7 @@
*/
public Result(String url, String title, String desc, String contentType, Date lastModified) {
this.url = url;
+ log.debug("Title: '" + title + "'");
this.title = title;
this.desc = desc;
this.contentType = contentType;
More information about the Yanel-commits
mailing list