Skip to content

Commit

Permalink
Chanages bracket type NADA member to NONE
Browse files Browse the repository at this point in the history
  • Loading branch information
dingfeli authored Oct 4, 2024
1 parent 066577e commit 6c6f2ee
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ private IQInlineSuggestionSegmentFactory() {
}

private enum BracketType {
OPEN, CLOSE, NADA;
OPEN, CLOSE, NONE;
}

public static List<IQInlineSuggestionSegment> getSegmentsFromSuggestion(final QInvocationSession qSes) {
Expand Down Expand Up @@ -66,7 +66,7 @@ public static List<IQInlineSuggestionSegment> getSegmentsFromSuggestion(final QI
}
}
break;
case NADA:
case NONE:
default:
continue;
}
Expand All @@ -87,7 +87,7 @@ private static BracketType getBracketType(final Stack<QInlineSuggestionOpenBrack
// TODO: enrich logic here to eliminate false positive
return BracketType.OPEN;
}
return BracketType.NADA;
return BracketType.NONE;
}

private static boolean isCloseBracket(final String input, final int idx,
Expand Down

0 comments on commit 6c6f2ee

Please sign in to comment.