You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by or...@apache.org on 2023/06/16 05:26:33 UTC

[camel] 01/03: (chores) camel-core-reifier: use final when possible

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

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

commit 8a24231d527d3ece1ba196f9414263d7f99f69d8
Author: Otavio Rodolfo Piske <an...@gmail.com>
AuthorDate: Thu Jun 15 18:06:36 2023 +0200

    (chores) camel-core-reifier: use final when possible
---
 .../java/org/apache/camel/reifier/errorhandler/ErrorHandlerReifier.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/core/camel-core-reifier/src/main/java/org/apache/camel/reifier/errorhandler/ErrorHandlerReifier.java b/core/camel-core-reifier/src/main/java/org/apache/camel/reifier/errorhandler/ErrorHandlerReifier.java
index ec6b3d80297..a92df428005 100644
--- a/core/camel-core-reifier/src/main/java/org/apache/camel/reifier/errorhandler/ErrorHandlerReifier.java
+++ b/core/camel-core-reifier/src/main/java/org/apache/camel/reifier/errorhandler/ErrorHandlerReifier.java
@@ -52,7 +52,7 @@ public abstract class ErrorHandlerReifier<T extends ErrorHandlerFactory> extends
     private static final Map<Class<?>, BiFunction<Route, ErrorHandlerFactory, ErrorHandlerReifier<? extends ErrorHandlerFactory>>> ERROR_HANDLERS
             = new HashMap<>(0);
 
-    protected T definition;
+    protected final T definition;
 
     /**
      * Utility classes should not have a public constructor.