svn commit: r1750524 - /ofbiz/trunk/applications/product/src/org/ofbiz/product/category/SeoUrlUtil.java

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

svn commit: r1750524 - /ofbiz/trunk/applications/product/src/org/ofbiz/product/category/SeoUrlUtil.java

Arun Patidar-4
Author: arunpatidar
Date: Tue Jun 28 14:31:53 2016
New Revision: 1750524

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

Modified:
    ofbiz/trunk/applications/product/src/org/ofbiz/product/category/SeoUrlUtil.java

Modified: ofbiz/trunk/applications/product/src/org/ofbiz/product/category/SeoUrlUtil.java
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/product/src/org/ofbiz/product/category/SeoUrlUtil.java?rev=1750524&r1=1750523&r2=1750524&view=diff
==============================================================================
--- ofbiz/trunk/applications/product/src/org/ofbiz/product/category/SeoUrlUtil.java (original)
+++ ofbiz/trunk/applications/product/src/org/ofbiz/product/category/SeoUrlUtil.java Tue Jun 28 14:31:53 2016
@@ -20,7 +20,10 @@ package org.ofbiz.product.category;
 
 import org.ofbiz.base.util.UtilValidate;
 
-public class SeoUrlUtil {
+public final class SeoUrlUtil {
+
+    private SeoUrlUtil() {}
+
     public static String replaceSpecialCharsUrl(String url) {
         if (UtilValidate.isEmpty(url)) {
             url = "";