Applied patch from jira issue - OFBIZ-7716 - Enforce noninstantiability to CommonWorkers class. Thanks Rahul Singh Kushwah and Rishi Solanki for your contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1751480 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Arun Patidar
2016-07-05 14:00:40 +00:00
parent 3aea5616fb
commit b0b67a436c
@@ -37,10 +37,12 @@ import org.ofbiz.entity.util.EntityUtilProperties;
/**
* Common Workers
*/
public class CommonWorkers {
public final class CommonWorkers {
public final static String module = CommonWorkers.class.getName();
private CommonWorkers() {}
public static List<GenericValue> getCountryList(Delegator delegator) {
List<GenericValue> geoList = new LinkedList<GenericValue>();
String defaultCountry = EntityUtilProperties.getPropertyValue("general", "country.geo.id.default", delegator);