tkalkirill commented on code in PR #6357:
URL: https://github.com/apache/ignite-3/pull/6357#discussion_r2269876288


##########
modules/cli/src/main/java/org/apache/ignite/internal/cli/core/repl/completer/DynamicCompletionInsider.java:
##########
@@ -36,16 +36,13 @@ public DynamicCompletionInsider() {
 
     private static String[] trim(String[] typedWords) {
         List<String> trimmedWords = new ArrayList<>(typedWords.length);
-        int offset = 0;
         for (String typedWord : typedWords) {
             String currentTrim = typedWord.trim();
-            if (currentTrim.isEmpty()) {
-                offset++;
-            } else {
+            if (!currentTrim.isEmpty()) {

Review Comment:
   If these changes do not concern the problem you are solving, then I will ask 
you to return what to do since you have quite a few changes.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to