Author: arunpatidar
Date: Sat Aug 27 10:36:36 2016
New Revision: 1757984
URL:
http://svn.apache.org/viewvc?rev=1757984&view=revLog:
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>