Skip to content

Commit

Permalink
[update][plugin][tdenginereader] Take the default switch to the last …
Browse files Browse the repository at this point in the history
…case
  • Loading branch information
wgzhao committed Oct 30, 2024
1 parent a6050c7 commit 22687d4
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -208,13 +208,13 @@ private static Long parseSplitInterval(String splitInterval)
switch (unit) {
case 'd':
return value * day;
default:
case 'h':
return value * hour;
case 'm':
return value * minute;
case 's':
return value * second;
case 'h':
default:
return value * hour;
}
}
throw new Exception("invalid splitInterval: " + splitInterval);
Expand Down

0 comments on commit 22687d4

Please sign in to comment.