wicket-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mgrigo...@apache.org
Subject svn commit: r1151506 - /wicket/trunk/wicket-core/src/main/java/org/apache/wicket/request/resource/DynamicImageResource.java
Date Wed, 27 Jul 2011 15:41:55 GMT
Author: mgrigorov
Date: Wed Jul 27 15:41:55 2011
New Revision: 1151506

URL: http://svn.apache.org/viewvc?rev=1151506&view=rev
Log:
WICKET-3935 DynamicImageResource shouldn't be that lazy

Improve the javadoc to explain what 'null' image means.


Modified:
    wicket/trunk/wicket-core/src/main/java/org/apache/wicket/request/resource/DynamicImageResource.java

Modified: wicket/trunk/wicket-core/src/main/java/org/apache/wicket/request/resource/DynamicImageResource.java
URL: http://svn.apache.org/viewvc/wicket/trunk/wicket-core/src/main/java/org/apache/wicket/request/resource/DynamicImageResource.java?rev=1151506&r1=1151505&r2=1151506&view=diff
==============================================================================
--- wicket/trunk/wicket-core/src/main/java/org/apache/wicket/request/resource/DynamicImageResource.java
(original)
+++ wicket/trunk/wicket-core/src/main/java/org/apache/wicket/request/resource/DynamicImageResource.java
Wed Jul 27 15:41:55 2011
@@ -121,7 +121,8 @@ public abstract class DynamicImageResour
 	 * @param attributes
 	 *            the context bringing the request, response and the parameters
 	 * 
-	 * @return The image data for this dynamic image
+	 * @return The image data for this dynamic image. {@code null} means there is no image and
404
+	 *         (Not found) response will be return.
 	 */
 	protected abstract byte[] getImageData(Attributes attributes);
 



Mime
View raw message