Mike Berger
-
2014-04-02
- Status: open --> api-only
Date reported: 01/04/2014
Program name: BORG Calendar
Release number: 1.7.9
Can reproduce: Yes
Severity: small
Problem Summery:
minuteString(int mins) method (DateUtil.java) accepts negative values
Problem description:
input i = -1
Is accepted, even though a time value cannot be negative.
Suggested Fix:
make the method throw an exception when negative values are passed as parameters to the minuteString(int mins) function.