onami-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From marcospera...@apache.org
Subject svn commit: r1435885 - /incubator/onami/trunk/test/src/main/java/org/apache/onami/test/mock/guice/MockMembersInjector.java
Date Sun, 20 Jan 2013 16:52:29 GMT
Author: marcosperanza
Date: Sun Jan 20 16:52:28 2013
New Revision: 1435885

URL: http://svn.apache.org/viewvc?rev=1435885&view=rev
Log:
Added java doc

Modified:
    incubator/onami/trunk/test/src/main/java/org/apache/onami/test/mock/guice/MockMembersInjector.java

Modified: incubator/onami/trunk/test/src/main/java/org/apache/onami/test/mock/guice/MockMembersInjector.java
URL: http://svn.apache.org/viewvc/incubator/onami/trunk/test/src/main/java/org/apache/onami/test/mock/guice/MockMembersInjector.java?rev=1435885&r1=1435884&r2=1435885&view=diff
==============================================================================
--- incubator/onami/trunk/test/src/main/java/org/apache/onami/test/mock/guice/MockMembersInjector.java
(original)
+++ incubator/onami/trunk/test/src/main/java/org/apache/onami/test/mock/guice/MockMembersInjector.java
Sun Jan 20 16:52:28 2013
@@ -37,6 +37,12 @@ public class MockMembersInjector<T>
 
     private final Map<Field, Object> mockedObjects;
 
+    /**
+     * Create a new instance.
+     * 
+     * @param field the field that has to be injected.
+     * @param mockedObjects  the map of mocked object.
+     */
     public MockMembersInjector( Field field, Map<Field, Object> mockedObjects )
     {
         this.field = field;



Mime
View raw message