svn commit: r1750529 - /ofbiz/trunk/applications/product/src/org/ofbiz/product/imagemanagement/ImageManagementHelper.java

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

svn commit: r1750529 - /ofbiz/trunk/applications/product/src/org/ofbiz/product/imagemanagement/ImageManagementHelper.java

Arun Patidar-4
Author: arunpatidar
Date: Tue Jun 28 14:48:56 2016
New Revision: 1750529

URL: http://svn.apache.org/viewvc?rev=1750529&view=rev
Log:
Applied patch from jira issue - OFBIZ-7447 - Enforce noninstantiability to ImageManagementHelper Class. Thanks Rishi Solanki and Chinmay Patidar for your contribution.

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

Modified: ofbiz/trunk/applications/product/src/org/ofbiz/product/imagemanagement/ImageManagementHelper.java
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/product/src/org/ofbiz/product/imagemanagement/ImageManagementHelper.java?rev=1750529&r1=1750528&r2=1750529&view=diff
==============================================================================
--- ofbiz/trunk/applications/product/src/org/ofbiz/product/imagemanagement/ImageManagementHelper.java (original)
+++ ofbiz/trunk/applications/product/src/org/ofbiz/product/imagemanagement/ImageManagementHelper.java Tue Jun 28 14:48:56 2016
@@ -31,9 +31,10 @@ import org.ofbiz.entity.GenericValue;
 import org.ofbiz.entity.util.EntityQuery;
 import org.ofbiz.entity.util.EntityUtil;
 
-public class ImageManagementHelper {
+public final class ImageManagementHelper {
 
     static String module = ImageManagementHelper.class.getName();
+    private ImageManagementHelper() {}
 
     public static String getInternalImageUrl(HttpServletRequest request, String productId) {
         String internalImageUrl = null;