Skip to content

Commit

Permalink
FIR-31838 verification of account ID: fixed warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
alexradzin committed Apr 1, 2024
1 parent 0c69804 commit d542384
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@
import com.firebolt.jdbc.connection.FireboltConnection;

public abstract class StatementValidatorFactory {
private StatementValidatorFactory() {
// empty private constructor to ensure that this class will be used as factory only.
}

public static StatementValidator createValidator(RawStatement statement, FireboltConnection connection) {
return statement instanceof SetParamRawStatement ? new SetValidator(connection) : new NoOpStatementValidator();
}
Expand Down

0 comments on commit d542384

Please sign in to comment.