aldettinger commented on a change in pull request #3066:
URL: https://github.com/apache/camel-quarkus/pull/3066#discussion_r702737952



##########
File path: 
integration-tests/sql/src/main/java/org/apache/camel/quarkus/component/sql/it/SqlRoutes.java
##########
@@ -114,7 +123,9 @@ private Path createTmpFileFrom(String file) throws 
IOException {
             while ((c = is.read()) >= 0) {
                 baos.write(c);
             }
-            fos.write(baos.toByteArray());
+            String content = new String(baos.toByteArray());

Review comment:
       Is it possible to remove this replaceAll if we use distinct files for 
projectsViaClasspath and projectsViaFile ?
   Otherwise, would a comment make it clear that we reuse the same file in 
order load the sql request from file or from classpath ?




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