Fixes copy&paste error
@@ -19,7 +19,7 @@ public class TimeScale {
public Time toFlinkTime(Integer count) {
if (this.value.equals(CountController.MINUTES_INTERNAL_NAME)) {
return Time.minutes(count);
- } else if (this.value.equals(CountController.MINUTES_INTERNAL_NAME)) {
+ } else if (this.value.equals(CountController.SECONDS_INTERNAL_NAME)) {
return Time.seconds(count);
} else {
return Time.hours(count);
