Skip to content

Commit 5ff8256

Browse files
committed
really allow zero interval
1 parent d9ce84b commit 5ff8256

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ocpp-v1_6/src/main/java/eu/chargetime/ocpp/model/core/BootNotificationConfirmation.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ public Integer getInterval() {
122122
*/
123123
@XmlElement
124124
public void setInterval(Integer interval) {
125-
if (interval <= 0) {
125+
if (interval < 0) {
126126
throw new PropertyConstraintException(interval, "interval be a positive value");
127127
}
128128

0 commit comments

Comments
 (0)