You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@james.apache.org by GitBox <gi...@apache.org> on 2021/10/25 03:50:40 UTC

[GitHub] [james-project] Arsnael commented on a change in pull request #709: JAMES-1930 Configure Memory Users repository in Memory APP

Arsnael commented on a change in pull request #709:
URL: https://github.com/apache/james-project/pull/709#discussion_r735239246



##########
File path: server/container/guice/memory/src/main/java/org/apache/james/modules/data/MemoryDataModule.java
##########
@@ -109,4 +109,11 @@ InitializationOperation configureRRT(ConfigurationProvider configurationProvider
             .forClass(MemoryRecipientRewriteTable.class)
             .init(() -> memoryRecipientRewriteTable.configure(configurationProvider.getConfiguration("recipientrewritetable")));
     }
+
+    @ProvidesIntoSet
+    InitializationOperation configureUsersRepository(ConfigurationProvider configurationProvider, MemoryUsersRepository usersRepository) {
+        return InitilizationOperationBuilder
+            .forClass(MemoryRecipientRewriteTable.class)

Review comment:
       Shouldn't it be `.forClass(MemoryUsersRepository.class)` ?




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@james.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



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