davsclaus commented on code in PR #1423:
URL: 
https://github.com/apache/camel-spring-boot/pull/1423#discussion_r2048295317


##########
tooling/camel-spring-boot-generator-maven-plugin/src/main/java/org/apache/camel/springboot/maven/SpringBootAutoConfigurationMojo.java:
##########
@@ -1926,8 +1926,8 @@ private void writeComponentSpringFactorySource(String 
packageName, String name)
             }
         } else {
             // create new file
-            try {
-                InputStream is = 
getClass().getClassLoader().getResourceAsStream("license-header.txt");
+            try (InputStream is = 
getClass().getClassLoader().getResourceAsStream("license-header.txt")) {
+                ;

Review Comment:
   There is an empty line with a semi colon, that can be removed



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