svn commit: r1076825 - /ofbiz/trunk/applications/product/src/org/ofbiz/product/imagemanagement/ImageUrlServlet.java

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

svn commit: r1076825 - /ofbiz/trunk/applications/product/src/org/ofbiz/product/imagemanagement/ImageUrlServlet.java

mrisaliti
Author: mrisaliti
Date: Thu Mar  3 21:59:58 2011
New Revision: 1076825

URL: http://svn.apache.org/viewvc?rev=1076825&view=rev
Log:
Remove a warning in ImageUrlServlet (OFBIZ-4102)

Modified:
    ofbiz/trunk/applications/product/src/org/ofbiz/product/imagemanagement/ImageUrlServlet.java

Modified: ofbiz/trunk/applications/product/src/org/ofbiz/product/imagemanagement/ImageUrlServlet.java
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/product/src/org/ofbiz/product/imagemanagement/ImageUrlServlet.java?rev=1076825&r1=1076824&r2=1076825&view=diff
==============================================================================
--- ofbiz/trunk/applications/product/src/org/ofbiz/product/imagemanagement/ImageUrlServlet.java (original)
+++ ofbiz/trunk/applications/product/src/org/ofbiz/product/imagemanagement/ImageUrlServlet.java Thu Mar  3 21:59:58 2011
@@ -110,7 +110,7 @@ public class ImageUrlServlet extends Htt
             RequestDispatcher rd = request.getRequestDispatcher("/control/viewImage?drObjectInfo=" + imageUrl);
             rd.forward(request, response);
         } else {
-            response.sendError(response.SC_NOT_FOUND, "Image not found with ID [" + contentId + "]");
+            response.sendError(HttpServletResponse.SC_NOT_FOUND, "Image not found with ID [" + contentId + "]");
         }
     }