onami-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From simonetrip...@apache.org
Subject svn commit: r1435654 - /incubator/onami/trunk/test/src/main/java/org/apache/onami/test/OnamiRunner.java
Date Sat, 19 Jan 2013 19:51:40 GMT
Author: simonetripodi
Date: Sat Jan 19 19:51:40 2013
New Revision: 1435654

URL: http://svn.apache.org/viewvc?rev=1435654&view=rev
Log:
fixed "Missing a Javadoc comment." checkstyle rule

Modified:
    incubator/onami/trunk/test/src/main/java/org/apache/onami/test/OnamiRunner.java

Modified: incubator/onami/trunk/test/src/main/java/org/apache/onami/test/OnamiRunner.java
URL: http://svn.apache.org/viewvc/incubator/onami/trunk/test/src/main/java/org/apache/onami/test/OnamiRunner.java?rev=1435654&r1=1435653&r2=1435654&view=diff
==============================================================================
--- incubator/onami/trunk/test/src/main/java/org/apache/onami/test/OnamiRunner.java (original)
+++ incubator/onami/trunk/test/src/main/java/org/apache/onami/test/OnamiRunner.java Sat Jan
19 19:51:40 2013
@@ -229,6 +229,12 @@ public class OnamiRunner
         return this.injector.getInstance( getTestClass().getJavaClass() );
     }
 
+    /**
+     * Shortcut to create the Injector given a list of Modules.
+     *
+     * @param modules the list of modules have to be load
+     * @return an Injector instance built using the input Module list
+     */
     protected Injector createInjector( List<Module> modules )
     {
         return Guice.createInjector( modules );



Mime
View raw message