essobedo commented on a change in pull request #7245:
URL: https://github.com/apache/camel/pull/7245#discussion_r831961965
##########
File path:
catalog/camel-report-maven-plugin/src/main/java/org/apache/camel/maven/ValidateMojo.java
##########
@@ -219,15 +218,13 @@ protected void doExecuteConfigurationFiles(CamelCatalog
catalog) throws MojoExec
// TODO: implement me
Set<File> propertiesFiles = new LinkedHashSet<>();
- List list = project.getResources();
- for (Object obj : list) {
- Resource dir = (Resource) obj;
+ List<Resource> list = project.getResources();
+ for (Resource dir : list) {
Review comment:
```suggestion
for (Resource dir : project.getResources()) {
```
It could simplified like this also
--
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]