This is an automated email from the ASF dual-hosted git repository. jhelou pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/james-project.git
commit 6f9fc4498ea086d4cf63f37f2486be859c4a1432 Author: Jean Helou <[email protected]> AuthorDate: Fri Mar 14 18:39:08 2025 +0100 [devscout] adds missing postgres data definition for drop lists --- .../java/org/apache/james/modules/data/PostgresDropListsModule.java | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/server/container/guice/postgres-common/src/main/java/org/apache/james/modules/data/PostgresDropListsModule.java b/server/container/guice/postgres-common/src/main/java/org/apache/james/modules/data/PostgresDropListsModule.java index d2f4397295..de29d9da83 100644 --- a/server/container/guice/postgres-common/src/main/java/org/apache/james/modules/data/PostgresDropListsModule.java +++ b/server/container/guice/postgres-common/src/main/java/org/apache/james/modules/data/PostgresDropListsModule.java @@ -19,15 +19,21 @@ package org.apache.james.modules.data; +import org.apache.james.backends.postgres.PostgresModule; import org.apache.james.droplists.api.DropList; import org.apache.james.droplists.postgres.PostgresDropList; +import org.apache.james.droplists.postgres.PostgresDropListModule; import com.google.inject.AbstractModule; import com.google.inject.Scopes; +import com.google.inject.multibindings.Multibinder; public class PostgresDropListsModule extends AbstractModule { @Override protected void configure() { bind(DropList.class).to(PostgresDropList.class).in(Scopes.SINGLETON); + + Multibinder<PostgresModule> postgresDataDefinitions = Multibinder.newSetBinder(binder(), PostgresModule.class); + postgresDataDefinitions.addBinding().toInstance(PostgresDropListModule.MODULE); } } --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
