Skip to content

Commit

Permalink
really allow zero interval
Browse files Browse the repository at this point in the history
  • Loading branch information
marcinar committed May 19, 2020
1 parent d9ce84b commit 5ff8256
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ public Integer getInterval() {
*/
@XmlElement
public void setInterval(Integer interval) {
if (interval <= 0) {
if (interval < 0) {
throw new PropertyConstraintException(interval, "interval be a positive value");
}

Expand Down

0 comments on commit 5ff8256

Please sign in to comment.