[seam-commits] Seam SVN: r9612 - branches/enterprise/JBPAPP_4_3_FP01/ui/src/main/java/org/jboss/seam/ui/graphicImage.
seam-commits at lists.jboss.org
seam-commits at lists.jboss.org
Mon Nov 24 09:32:38 EST 2008
Author: manaRH
Date: 2008-11-24 09:32:38 -0500 (Mon, 24 Nov 2008)
New Revision: 9612
Modified:
branches/enterprise/JBPAPP_4_3_FP01/ui/src/main/java/org/jboss/seam/ui/graphicImage/GraphicImageResource.java
Log:
JBPAPP-1442
Modified: branches/enterprise/JBPAPP_4_3_FP01/ui/src/main/java/org/jboss/seam/ui/graphicImage/GraphicImageResource.java
===================================================================
--- branches/enterprise/JBPAPP_4_3_FP01/ui/src/main/java/org/jboss/seam/ui/graphicImage/GraphicImageResource.java 2008-11-23 23:52:31 UTC (rev 9611)
+++ branches/enterprise/JBPAPP_4_3_FP01/ui/src/main/java/org/jboss/seam/ui/graphicImage/GraphicImageResource.java 2008-11-24 14:32:38 UTC (rev 9612)
@@ -60,7 +60,7 @@
String pathInfo = request.getPathInfo().substring(getResourcePath().length() + 1,
request.getPathInfo().lastIndexOf("."));
ImageWrapper image = GraphicImageStore.instance().remove(pathInfo);
- if (image != null)
+ if (image != null && image.getImage() != null)
{
response.setContentType(image.getContentType().getMimeType());
response.setStatus(HttpServletResponse.SC_OK);
More information about the seam-commits
mailing list