You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ac...@apache.org on 2019/09/17 06:33:30 UTC

[camel] branch master updated: Fixed CS for apt

This is an automated email from the ASF dual-hosted git repository.

acosentino pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel.git


The following commit(s) were added to refs/heads/master by this push:
     new b81c9b8  Fixed CS for apt
b81c9b8 is described below

commit b81c9b83e0cf317ad8971e15a591503e28cfd4a8
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Tue Sep 17 08:32:50 2019 +0200

    Fixed CS for apt
---
 .../java/org/apache/camel/tools/apt/ModelAnnotationProcessor.java     | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/tooling/apt/src/main/java/org/apache/camel/tools/apt/ModelAnnotationProcessor.java b/tooling/apt/src/main/java/org/apache/camel/tools/apt/ModelAnnotationProcessor.java
index 131b781..0995240 100644
--- a/tooling/apt/src/main/java/org/apache/camel/tools/apt/ModelAnnotationProcessor.java
+++ b/tooling/apt/src/main/java/org/apache/camel/tools/apt/ModelAnnotationProcessor.java
@@ -96,10 +96,10 @@ public class ModelAnnotationProcessor extends AbstractCamelAnnotationProcessor {
             springProcessor.processModelClass(processingEnv, roundEnv, classElement);
         }
 
-        if (! propertyPlaceholderDefinitions.isEmpty()) {
+        if (!propertyPlaceholderDefinitions.isEmpty()) {
             messager.printMessage(Kind.WARNING, String.format("Generating placeholder definitions helper for %d definitions", propertyPlaceholderDefinitions.size()));
             PropertyPlaceholderGenerator.generatePropertyPlaceholderDefinitionsHelper(processingEnv, roundEnv, propertyPlaceholderDefinitions);
         }
     }
 
-}
\ No newline at end of file
+}