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/07/08 18:53:29 UTC

[camel] 06/08: (chores) camel-cloud: 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 9a7361c073b50d0b64d2b2f38bfd0b45b557e732
Author: Otavio R. Piske <an...@gmail.com>
AuthorDate: Sat Jul 8 20:24:33 2023 +0200

    (chores) camel-cloud: use final when possible
---
 .../main/java/org/apache/camel/impl/cloud/BlacklistServiceFilter.java   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/core/camel-cloud/src/main/java/org/apache/camel/impl/cloud/BlacklistServiceFilter.java b/core/camel-cloud/src/main/java/org/apache/camel/impl/cloud/BlacklistServiceFilter.java
index 709bda5e30b..a0a13a1bc6e 100644
--- a/core/camel-cloud/src/main/java/org/apache/camel/impl/cloud/BlacklistServiceFilter.java
+++ b/core/camel-cloud/src/main/java/org/apache/camel/impl/cloud/BlacklistServiceFilter.java
@@ -27,7 +27,7 @@ import org.apache.camel.cloud.ServiceDefinition;
 import org.apache.camel.cloud.ServiceFilter;
 
 public class BlacklistServiceFilter implements ServiceFilter {
-    private List<ServiceDefinition> services;
+    private final List<ServiceDefinition> services;
 
     public BlacklistServiceFilter() {
         this.services = new ArrayList<>();