Skip to content

Commit

Permalink
refactor: remove local variables, use static constants (googleapis#2322)
Browse files Browse the repository at this point in the history
* refactor: remove local variables, use constants

These are already defined in the base class AbstractStatementParser

* 🦉 Updates from OwlBot post-processor

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

---------

Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
  • Loading branch information
orischwartz and gcf-owl-bot[bot] authored Mar 17, 2023
1 parent c243241 commit b98c594
Showing 1 changed file with 0 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -213,9 +213,6 @@ String removeStatementHint(String sql) {
@InternalApi
@Override
ParametersInfo convertPositionalParametersToNamedParametersInternal(char paramChar, String sql) {
final char SINGLE_QUOTE = '\'';
final char DOUBLE_QUOTE = '"';
final char BACKTICK_QUOTE = '`';
boolean isInQuoted = false;
char startQuote = 0;
boolean lastCharWasEscapeChar = false;
Expand Down

0 comments on commit b98c594

Please sign in to comment.