Skip to content

Commit

Permalink
Removed redundant exprTime check for date.
Browse files Browse the repository at this point in the history
Signed-off-by: MitchellGale-BitQuill <[email protected]>
  • Loading branch information
MitchellGale committed Nov 8, 2022
1 parent ae241b6 commit 68b9a26
Showing 1 changed file with 0 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -944,9 +944,6 @@ private ExprValue exprSubDateInterval(ExprValue date, ExprValue expr) {
* @return ExprValue.
*/
private ExprValue exprTime(ExprValue exprValue) {
if (exprValue.type() == DATE) {
return new ExprTimeValue("00:00:00");
}
if (exprValue instanceof ExprStringValue) {
return new ExprTimeValue(exprValue.stringValue());
} else {
Expand Down

0 comments on commit 68b9a26

Please sign in to comment.