Author: magnuse
Date: 2006-05-08 11:05:39 +0200 (Mon, 08 May 2006)
New Revision: 2869

Modified:
   
trunk/src/java/no/schibstedsok/front/searchportal/configuration/SearchModeFactory.java
   
trunk/src/java/no/schibstedsok/front/searchportal/result/handler/WeatherDateHandler.java
Log:
fix of previous commit.

Modified: 
trunk/src/java/no/schibstedsok/front/searchportal/configuration/SearchModeFactory.java
===================================================================
--- 
trunk/src/java/no/schibstedsok/front/searchportal/configuration/SearchModeFactory.java
      2006-05-08 08:38:24 UTC (rev 2868)
+++ 
trunk/src/java/no/schibstedsok/front/searchportal/configuration/SearchModeFactory.java
      2006-05-08 09:05:39 UTC (rev 2869)
@@ -696,10 +696,12 @@
                         final WeatherCelciusHandler ch = 
(WeatherCelciusHandler) handler;
                         ch.setTargetField(rh.getAttribute("target"));
                         ch.setSourceField(rh.getAttribute("source"));
+                        break;
                     case WEATHER_DATE:
                         final WeatherDateHandler dateh = (WeatherDateHandler) 
handler;
                         dateh.setTargetField(rh.getAttribute("target"));
                         dateh.setSourceField(rh.getAttribute("source"));
+                        break;
                 }
 
                 return handler;

Modified: 
trunk/src/java/no/schibstedsok/front/searchportal/result/handler/WeatherDateHandler.java
===================================================================
--- 
trunk/src/java/no/schibstedsok/front/searchportal/result/handler/WeatherDateHandler.java
    2006-05-08 08:38:24 UTC (rev 2868)
+++ 
trunk/src/java/no/schibstedsok/front/searchportal/result/handler/WeatherDateHandler.java
    2006-05-08 09:05:39 UTC (rev 2869)
@@ -32,7 +32,7 @@
         this.targetField = targetField;
     }
 
-        public void setSourceField(String string) {
+    public void setSourceField(String sourceField) {
         this.sourceField = sourceField;
     }
 

_______________________________________________
Kernel-commits mailing list
[email protected]
http://sesat.no/mailman/listinfo/kernel-commits

Reply via email to