Skip to content

Commit 7a3372e

Browse files
committed
Added extra brackets
Signed-off-by: MitchellGale-BitQuill <mitchellg@bitquilltech.com>
1 parent ab4c5e1 commit 7a3372e

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

common/src/main/java/org/opensearch/sql/common/utils/StringUtils.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,8 +53,8 @@ public static String unquoteText(String text) {
5353
for (int chIndex = 1; chIndex < text.length() - 1; chIndex++) {
5454
currentChar = text.charAt(chIndex);
5555
nextChar = text.charAt(chIndex + 1);
56-
if (currentChar == enclosingQuote
57-
&& nextChar == currentChar) {
56+
if ((currentChar == enclosingQuote)
57+
&& (nextChar == currentChar)) {
5858
chIndex++;
5959
}
6060
textSB.append(currentChar);

0 commit comments

Comments
 (0)