Repository: james-project
Updated Branches:
  refs/heads/master ab37c84f0 -> 0b8afcf35


JAMES-1741 DNSJava was not well initialized


Project: http://git-wip-us.apache.org/repos/asf/james-project/repo
Commit: http://git-wip-us.apache.org/repos/asf/james-project/commit/0b8afcf3
Tree: http://git-wip-us.apache.org/repos/asf/james-project/tree/0b8afcf3
Diff: http://git-wip-us.apache.org/repos/asf/james-project/diff/0b8afcf3

Branch: refs/heads/master
Commit: 0b8afcf3593bf8a226af74d77f72b9241a9b519a
Parents: ab37c84
Author: Benoit Tellier <[email protected]>
Authored: Sat May 21 15:13:04 2016 +0700
Committer: Benoit Tellier <[email protected]>
Committed: Sat May 21 15:15:02 2016 +0700

----------------------------------------------------------------------
 .../java/org/apache/james/modules/server/DNSServiceModule.java    | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/james-project/blob/0b8afcf3/server/container/guice/guice-common/src/main/java/org/apache/james/modules/server/DNSServiceModule.java
----------------------------------------------------------------------
diff --git 
a/server/container/guice/guice-common/src/main/java/org/apache/james/modules/server/DNSServiceModule.java
 
b/server/container/guice/guice-common/src/main/java/org/apache/james/modules/server/DNSServiceModule.java
index d987dbf..15501a9 100644
--- 
a/server/container/guice/guice-common/src/main/java/org/apache/james/modules/server/DNSServiceModule.java
+++ 
b/server/container/guice/guice-common/src/main/java/org/apache/james/modules/server/DNSServiceModule.java
@@ -42,7 +42,8 @@ public class DNSServiceModule extends AbstractModule {
 
     @Override
     protected void configure() {
-        bind(DNSService.class).to(DNSJavaService.class).in(Scopes.SINGLETON);
+        bind(DNSJavaService.class).in(Scopes.SINGLETON);
+        bind(DNSService.class).to(DNSJavaService.class);
         Multibinder.newSetBinder(binder(), 
ConfigurationPerformer.class).addBinding().to(DNSServiceConfigurationPerformer.class);
     }
 


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to