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



##########
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:
       I'll add it there - this code was present before current change, so I 
didn't see a need of commenting it. But I agree that it would make code easier 
to understand




-- 
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: commits-unsubscr...@camel.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to