cunningt opened a new pull request, #1733:
URL: https://github.com/apache/camel-spring-boot/pull/1733

   Getting unchecked/unsafe operation warnings in 
camel-spring-boot-generator-maven-plugin - the error is from how the results 
from loadClass are consumed by addAnnotation
   
   Add a loadAnnotationClass that uses proper typing for loading the Annotation 
class and use it in the one instance that we call addAnnotation.     
   
   BEFORE : 
   
   ```
   [INFO] 
/Users/tcunning/src/community/camel-spring-boot/tooling/camel-spring-boot-generator-maven-plugin/src/main/java/org/apache/camel/springboot/maven/SpringBootAutoConfigurationMojo.java:
 
/Users/tcunning/src/community/camel-spring-boot/tooling/camel-spring-boot-generator-maven-plugin/src/main/java/org/apache/camel/springboot/maven/SpringBootAutoConfigurationMojo.java
 uses unchecked or unsafe operations.
   [INFO] 
/Users/tcunning/src/community/camel-spring-boot/tooling/camel-spring-boot-generator-maven-plugin/src/main/java/org/apache/camel/springboot/maven/SpringBootAutoConfigurationMojo.java:
 Recompile with -Xlint:unchecked for details.
   ```
   
   AFTER : 
   
   No unchecked or unsafe operation warning.


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