onami-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From simonetrip...@apache.org
Subject svn commit: r1503245 - /onami/sandbox/console/src/main/java/org/apache/onami/console/modules/descriptor/IoDescriptorsModule.java
Date Mon, 15 Jul 2013 13:50:37 GMT
Author: simonetripodi
Date: Mon Jul 15 13:50:37 2013
New Revision: 1503245

URL: http://svn.apache.org/r1503245
Log:
avoid `Binding points to itself.` issue

Modified:
    onami/sandbox/console/src/main/java/org/apache/onami/console/modules/descriptor/IoDescriptorsModule.java

Modified: onami/sandbox/console/src/main/java/org/apache/onami/console/modules/descriptor/IoDescriptorsModule.java
URL: http://svn.apache.org/viewvc/onami/sandbox/console/src/main/java/org/apache/onami/console/modules/descriptor/IoDescriptorsModule.java?rev=1503245&r1=1503244&r2=1503245&view=diff
==============================================================================
--- onami/sandbox/console/src/main/java/org/apache/onami/console/modules/descriptor/IoDescriptorsModule.java
(original)
+++ onami/sandbox/console/src/main/java/org/apache/onami/console/modules/descriptor/IoDescriptorsModule.java
Mon Jul 15 13:50:37 2013
@@ -35,9 +35,9 @@ public final class IoDescriptorsModule
     protected void configure()
     {
         // textual configurations unmarshallers
-        bind( OnamiConsoleJacksonReader.class ).to( OnamiConsoleJacksonReader.class ).in(
SINGLETON );
-        bind( OnamiConsoleSnakeYamlReader.class ).to( OnamiConsoleSnakeYamlReader.class ).in(
SINGLETON );
-        bind( OnamiConsoleXpp3Reader.class ).to( OnamiConsoleXpp3Reader.class ).in( SINGLETON
);
+        bind( OnamiConsoleJacksonReader.class ).in( SINGLETON );
+        bind( OnamiConsoleSnakeYamlReader.class ).in( SINGLETON );
+        bind( OnamiConsoleXpp3Reader.class ).in( SINGLETON );
     }
 
 }



Mime
View raw message