svn commit: r1757984 - /ofbiz/trunk/specialpurpose/solr/src/main/java/org/apache/ofbiz/solr/CategoryUtil.java

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

svn commit: r1757984 - /ofbiz/trunk/specialpurpose/solr/src/main/java/org/apache/ofbiz/solr/CategoryUtil.java

Arun Patidar-4
Author: arunpatidar
Date: Sat Aug 27 10:36:36 2016
New Revision: 1757984

URL: http://svn.apache.org/viewvc?rev=1757984&view=rev
Log:
Applied patch from jira issue - OFBIZ-7915 - Enforce noninstantiability to CategoryUtil class. Thanks Rishi Solanki and Pratik Kulshreshth for your contribution.

Modified:
    ofbiz/trunk/specialpurpose/solr/src/main/java/org/apache/ofbiz/solr/CategoryUtil.java

Modified: ofbiz/trunk/specialpurpose/solr/src/main/java/org/apache/ofbiz/solr/CategoryUtil.java
URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/solr/src/main/java/org/apache/ofbiz/solr/CategoryUtil.java?rev=1757984&r1=1757983&r2=1757984&view=diff
==============================================================================
--- ofbiz/trunk/specialpurpose/solr/src/main/java/org/apache/ofbiz/solr/CategoryUtil.java (original)
+++ ofbiz/trunk/specialpurpose/solr/src/main/java/org/apache/ofbiz/solr/CategoryUtil.java Sat Aug 27 10:36:36 2016
@@ -37,10 +37,12 @@ import org.apache.ofbiz.service.Dispatch
 /**
  * Product category util class for solr.
  */
-public abstract class CategoryUtil {
+public final class CategoryUtil {
     
     public static final String module = CategoryUtil.class.getName();
 
+    private CategoryUtil () {}
+
     /**
      * Gets catalog IDs for specified product category.
      * <p>