You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@james.apache.org by bt...@apache.org on 2021/03/03 07:07:26 UTC

[james-project] 18/23: JAMES-3502, add functional interface annotations

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

btellier pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/james-project.git

commit beb20e870ed219b0505524cf49fce4eea5f9ef7e
Author: andreasvaldma <andreas.valdmanortal.com>
AuthorDate: Thu Feb 25 11:54:34 2021 +0200

    JAMES-3502, add functional interface annotations
---
 .../java/org/apache/james/backends/rabbitmq/RabbitMQConfiguration.java  | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/backends-common/rabbitmq/src/main/java/org/apache/james/backends/rabbitmq/RabbitMQConfiguration.java b/backends-common/rabbitmq/src/main/java/org/apache/james/backends/rabbitmq/RabbitMQConfiguration.java
index a5155cb..0032770 100644
--- a/backends-common/rabbitmq/src/main/java/org/apache/james/backends/rabbitmq/RabbitMQConfiguration.java
+++ b/backends-common/rabbitmq/src/main/java/org/apache/james/backends/rabbitmq/RabbitMQConfiguration.java
@@ -171,6 +171,7 @@ public class RabbitMQConfiguration {
 
         static class Builder {
 
+            @FunctionalInterface
             interface RequireSSLStrategyTrustStore {
                 RequireHostNameVerifier sslStrategy(SSLValidationStrategy strategy, Optional<SSLTrustStore> trustStore);
 
@@ -187,6 +188,7 @@ public class RabbitMQConfiguration {
                 }
             }
 
+            @FunctionalInterface
             interface RequireHostNameVerifier {
                 ReadyToBuild hostNameVerifier(HostNameVerifier hostNameVerifier);
 


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@james.apache.org
For additional commands, e-mail: notifications-help@james.apache.org