Fix the failing tests.

This commit is contained in:
graywolf336
2014-08-19 14:43:03 -05:00
parent 85e1106b42
commit 6ddabe39ad
2 changed files with 7 additions and 7 deletions

View File

@ -112,7 +112,7 @@ public class Prisoner {
/** Gets the remaining time the prisoner has in minutes. */
public long getRemainingTimeInMinutes() {
return TimeUnit.MILLISECONDS.toMinutes(time);
return TimeUnit.MINUTES.convert(time, TimeUnit.MILLISECONDS);
}
/** Gets the remaining time the prison has in minutes except only in int format. */