PILLUTLAAVINASH / google-enterprise-connector-manager

Automatically exported from code.google.com/p/google-enterprise-connector-manager
0 stars 0 forks source link

Cannot create disabled Schedule. #134

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
The constructor Schedule(String, boolean, int, int, String) fails to
propagate the boolean value when chaining to constructor Schedule(String,
boolean, int, int, List).  It passes 'false' instead.

Original issue reported on code.google.com by Brett.Mi...@gmail.com on 31 Mar 2009 at 7:19

GoogleCodeExporter commented 8 years ago

Original comment by Brett.Mi...@gmail.com on 31 Mar 2009 at 9:18

GoogleCodeExporter commented 8 years ago
Fixed 31 March 2009 in Connector Manager revision r1621

Change Log:
----------
M  source/java/com/google/enterprise/connector/scheduler/Schedule.java

   public Schedule(String connectorName, boolean disabled, int load,
       int retryDelayMillis, String timeIntervals) {
-    this(connectorName, false, load, retryDelayMillis,
+    this(connectorName, disabled, load, retryDelayMillis,
          parseTimeIntervals(timeIntervals));

Original comment by Brett.Mi...@gmail.com on 31 Mar 2009 at 9:27

GoogleCodeExporter commented 8 years ago

Original comment by Brett.Mi...@gmail.com on 16 May 2009 at 9:23