You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by da...@apache.org on 2019/08/14 07:53:12 UTC

[camel] 18/21: CAMEL-13850: Source code generate ExchangeConstantProvider so we can do fast lookup of its constant values without reflection

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

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

commit f6cf229afd684f82e86912170399c76e5e2bddc1
Author: Claus Ibsen <cl...@gmail.com>
AuthorDate: Tue Aug 13 18:34:48 2019 +0200

    CAMEL-13850: Source code generate ExchangeConstantProvider so we can do fast lookup of its constant values without reflection
---
 .../org/apache/camel/tools/apt/PropertyPlaceholderGenerator.java     | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/tooling/apt/src/main/java/org/apache/camel/tools/apt/PropertyPlaceholderGenerator.java b/tooling/apt/src/main/java/org/apache/camel/tools/apt/PropertyPlaceholderGenerator.java
index 2cfec56..9855474 100644
--- a/tooling/apt/src/main/java/org/apache/camel/tools/apt/PropertyPlaceholderGenerator.java
+++ b/tooling/apt/src/main/java/org/apache/camel/tools/apt/PropertyPlaceholderGenerator.java
@@ -28,7 +28,10 @@ import org.apache.camel.tools.apt.helper.IOHelper;
 
 import static org.apache.camel.tools.apt.AnnotationProcessorHelper.dumpExceptionToErrorFile;
 
-public class PropertyPlaceholderGenerator {
+public final class PropertyPlaceholderGenerator {
+
+    private PropertyPlaceholderGenerator() {
+    }
 
     public static void generatePropertyPlaceholderProviderSource(ProcessingEnvironment processingEnv, TypeElement parent,
                                                                  String def, String fqnDef, String cn, String fqn,