See gh-32696
This commit is contained in:
Johnny Lim
2024-04-23 22:21:48 +09:00
committed by Stéphane Nicoll
parent 4d34444a69
commit cc73ccefef
7 changed files with 27 additions and 27 deletions

View File

@@ -433,12 +433,12 @@ public class TableMetaDataContext {
private final boolean quoting;
public QuoteHandler(@Nullable String identifierQuoteString) {
QuoteHandler(@Nullable String identifierQuoteString) {
this.identifierQuoteString = identifierQuoteString;
this.quoting = StringUtils.hasText(identifierQuoteString);
}
public void appendTo(StringBuilder stringBuilder, @Nullable String item) {
void appendTo(StringBuilder stringBuilder, @Nullable String item) {
if (this.quoting) {
stringBuilder.append(this.identifierQuoteString)
.append(item).append(this.identifierQuoteString);