You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@olingo.apache.org by ra...@apache.org on 2019/09/12 07:51:36 UTC

[olingo-odata4] branch master updated: [OLINGO-1368]Bug Fix for In operator support

This is an automated email from the ASF dual-hosted git repository.

ramyav pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/olingo-odata4.git


The following commit(s) were added to refs/heads/master by this push:
     new 7f3f9c5  [OLINGO-1368]Bug Fix for In operator support
7f3f9c5 is described below

commit 7f3f9c5261d6c82b87b753510bab950ebc237157
Author: ramya vasanth <ra...@sap.com>
AuthorDate: Thu Sep 12 13:21:24 2019 +0530

    [OLINGO-1368]Bug Fix for In operator support
---
 .../java/org/apache/olingo/server/core/uri/parser/ExpressionParser.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/server-core/src/main/java/org/apache/olingo/server/core/uri/parser/ExpressionParser.java b/lib/server-core/src/main/java/org/apache/olingo/server/core/uri/parser/ExpressionParser.java
index 935c9ed..d08d09e 100644
--- a/lib/server-core/src/main/java/org/apache/olingo/server/core/uri/parser/ExpressionParser.java
+++ b/lib/server-core/src/main/java/org/apache/olingo/server/core/uri/parser/ExpressionParser.java
@@ -382,7 +382,7 @@ public class ExpressionParser {
       Expression expression = parseExpression();
       expressionList.add(expression);
       ParserHelper.bws(tokenizer);
-      if (tokenizer.next(TokenKind.COMMA)) {
+      while (tokenizer.next(TokenKind.COMMA)) {
         ParserHelper.bws(tokenizer);
         expression = parseExpression();
         expressionList.add(expression);