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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user