davidradl commented on code in PR #36:
URL: 
https://github.com/apache/flink-connector-http/pull/36#discussion_r2993605597


##########
flink-connector-http/src/main/java/org/apache/flink/connector/http/table/lookup/querycreators/GenericJsonAndUrlQueryCreator.java:
##########
@@ -171,8 +173,8 @@ public LookupQueryInfo createLookupQuery(final RowData 
lookupDataRow) {
      * @return the template with placeholders replaced by actual values
      */
     private String substituteTemplate(String template, ObjectNode jsonObject) {
-        java.util.regex.Pattern pattern = 
java.util.regex.Pattern.compile("\\{\\{([^}]+)\\}\\}");
-        java.util.regex.Matcher matcher = pattern.matcher(template);
+        Pattern pattern = 
java.util.regex.Pattern.compile("\\{\\{([^}]+)\\}\\}");

Review Comment:
   sorry missed this



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