Author: tejasp
Date: Fri May  3 19:24:41 2013
New Revision: 1478937

URL: http://svn.apache.org/r1478937
Log:
NUTCH-1514 Phase out the deprecated configuration properties (if possible)

Modified:
    nutch/branches/2.x/CHANGES.txt
    nutch/branches/2.x/src/java/org/apache/nutch/crawl/GeneratorJob.java
    nutch/branches/2.x/src/test/org/apache/nutch/crawl/TestGenerator.java

Modified: nutch/branches/2.x/CHANGES.txt
URL: 
http://svn.apache.org/viewvc/nutch/branches/2.x/CHANGES.txt?rev=1478937&r1=1478936&r2=1478937&view=diff
==============================================================================
--- nutch/branches/2.x/CHANGES.txt (original)
+++ nutch/branches/2.x/CHANGES.txt Fri May  3 19:24:41 2013
@@ -2,6 +2,8 @@ Nutch Change Log
 
 Release 2.2 - Current Development
 
+* NUTCH-1514 Phase out the deprecated configuration properties (if possible) 
(tejasp)
+
 * NUTCH-1273 Fix [deprecation] javac warnings (lewsimc + tejasp)
 
 * NUTCH-1031 Delegate parsing of robots.txt to crawler-commons (tejasp)

Modified: nutch/branches/2.x/src/java/org/apache/nutch/crawl/GeneratorJob.java
URL: 
http://svn.apache.org/viewvc/nutch/branches/2.x/src/java/org/apache/nutch/crawl/GeneratorJob.java?rev=1478937&r1=1478936&r2=1478937&view=diff
==============================================================================
--- nutch/branches/2.x/src/java/org/apache/nutch/crawl/GeneratorJob.java 
(original)
+++ nutch/branches/2.x/src/java/org/apache/nutch/crawl/GeneratorJob.java Fri 
May  3 19:24:41 2013
@@ -236,7 +236,7 @@ public class GeneratorJob extends NutchT
       System.out.println("    -noFilter      - do not activate the filter 
plugin to filter the url, default is true ");
       System.out.println("    -noNorm        - do not activate the normalizer 
plugin to normalize the url, default is true ");
       System.out.println("    -adddays       - Adds numDays to the current 
time to facilitate crawling urls already");
-      System.out.println("                     fetched sooner then 
db.default.fetch.interval. Default value is 0.");
+      System.out.println("                     fetched sooner then 
db.fetch.interval.default. Default value is 0.");
       System.out.println("----------------------");
       System.out.println("Please set the params.");
       return -1;

Modified: nutch/branches/2.x/src/test/org/apache/nutch/crawl/TestGenerator.java
URL: 
http://svn.apache.org/viewvc/nutch/branches/2.x/src/test/org/apache/nutch/crawl/TestGenerator.java?rev=1478937&r1=1478936&r2=1478937&view=diff
==============================================================================
--- nutch/branches/2.x/src/test/org/apache/nutch/crawl/TestGenerator.java 
(original)
+++ nutch/branches/2.x/src/test/org/apache/nutch/crawl/TestGenerator.java Fri 
May  3 19:24:41 2013
@@ -107,7 +107,7 @@ public class TestGenerator extends Abstr
   }
 
   /**
-   * Test that generator obeys the property "generate.max.per.host".
+   * Test that generator obeys the property "generate.max.count" and 
"generate.count.mode".
    *
    * @throws Exception
    */


Reply via email to