added note that it's ok to return null from callbacks to callback annotation jdoc

This commit is contained in:
Florian Nücke 2014-03-04 15:09:55 +01:00
parent b77585b66a
commit 41f4738115

View File

@ -17,6 +17,9 @@ import java.lang.annotation.Target;
* <pre>
* Object[] f(Context context, Arguments arguments);
* </pre>
* <p/>
* The method may return <tt>null</tt> in case it doesn't wish return anything,
* which is functionally equivalent to returning an empty array.
*
* @see Context
* @see Arguments