[Yanel-commits] rev 20962 - public/yanel/trunk/src/contributions/resources/nutch/src/java/org/wyona/yanel/impl/resources

josias at wyona.com josias at wyona.com
Mon Dec 18 14:31:18 CET 2006


Author: josias
Date: 2006-12-18 14:31:16 +0100 (Mon, 18 Dec 2006)
New Revision: 20962

Modified:
   public/yanel/trunk/src/contributions/resources/nutch/src/java/org/wyona/yanel/impl/resources/NutchResource.java
Log:
assign the empty string to the show parameter. this should fix the webtest

Modified: public/yanel/trunk/src/contributions/resources/nutch/src/java/org/wyona/yanel/impl/resources/NutchResource.java
===================================================================
--- public/yanel/trunk/src/contributions/resources/nutch/src/java/org/wyona/yanel/impl/resources/NutchResource.java	2006-12-18 10:57:44 UTC (rev 20961)
+++ public/yanel/trunk/src/contributions/resources/nutch/src/java/org/wyona/yanel/impl/resources/NutchResource.java	2006-12-18 13:31:16 UTC (rev 20962)
@@ -191,6 +191,7 @@
             id = 0;
         }
         show = request.getParameter("show");
+        if (show == null) show = "";
         searchTerm = request.getParameter("query");
         if(language == null || ("").equals(language)) language = defaultLanguage;
         return getView(new Path(request.getServletPath()), viewId, idx, id);




More information about the Yanel-commits mailing list