xtern commented on code in PR #170:
URL: https://github.com/apache/ignite-extensions/pull/170#discussion_r942137503


##########
modules/spring-data-ext/spring-data/src/main/java/org/apache/ignite/springdata/repository/query/StringQuery.java:
##########
@@ -228,6 +235,42 @@ enum ParameterBindingParser {
             PARAMETER_BINDING_PATTERN = Pattern.compile(builder.toString(), 
CASE_INSENSITIVE);
         }
 
+        /** */
+        public String parseParameterDependentStatements(String qry, 
List<ParameterBinding> bindings, Object[] args) {
+            Matcher matcher = PARAMETER_BINDING_PATTERN.matcher(qry);
+
+            StringBuffer res = new StringBuffer();

Review Comment:
   ```suggestion
               StringBuilder res = new StringBuilder();
   ```



##########
modules/spring-data-ext/spring-data/src/main/java/org/apache/ignite/springdata/repository/query/StringQuery.java:
##########
@@ -53,7 +55,7 @@
  */
 class StringQuery implements DeclaredQuery {
     /** */
-    private final String query;
+    private String query;

Review Comment:
   redundant



-- 
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