Revision 2127
Added by Duane Costa over 20 years ago
src/edu/ucsb/nceas/metacat/harvesterClient/HarvesterRegistration.java | ||
---|---|---|
96 | 96 |
} |
97 | 97 |
|
98 | 98 |
// Check validity of the Harvest Frequency field |
99 |
if ((updateFrequency < 1) || (updateFrequency > 99)) {
|
|
99 |
if ((updateFrequency < 0) || (updateFrequency > 99)) {
|
|
100 | 100 |
out.println("Harvest Frequency should be in the range 1 to 99"); |
101 | 101 |
validValues = false; |
102 | 102 |
} |
Also available in: Unified diff
Allow user to set frequency to 0 for testing purposes