svn commit: r1751337 - /ofbiz/trunk/framework/common/src/org/ofbiz/common/geo/GeoWorker.java

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

svn commit: r1751337 - /ofbiz/trunk/framework/common/src/org/ofbiz/common/geo/GeoWorker.java

Arun Patidar-4
Author: arunpatidar
Date: Mon Jul  4 16:40:15 2016
New Revision: 1751337

URL: http://svn.apache.org/viewvc?rev=1751337&view=rev
Log:
Applied patch from jira issue - OFBIZ-7691 - Enforce noninstantiability to PeriodWorker class. Thanks Rahul Singh and Rishi Solanki for your contribution.

Modified:
    ofbiz/trunk/framework/common/src/org/ofbiz/common/geo/GeoWorker.java

Modified: ofbiz/trunk/framework/common/src/org/ofbiz/common/geo/GeoWorker.java
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/common/src/org/ofbiz/common/geo/GeoWorker.java?rev=1751337&r1=1751336&r2=1751337&view=diff
==============================================================================
--- ofbiz/trunk/framework/common/src/org/ofbiz/common/geo/GeoWorker.java (original)
+++ ofbiz/trunk/framework/common/src/org/ofbiz/common/geo/GeoWorker.java Mon Jul  4 16:40:15 2016
@@ -35,10 +35,12 @@ import org.ofbiz.entity.util.EntityUtil;
 /**
  * Worker methods for Geos
  */
-public class GeoWorker {
+public final class GeoWorker {
 
     public static final String module = GeoWorker.class.getName();
 
+    private GeoWorker() {}
+
     public static List<GenericValue> expandGeoGroup(String geoId, Delegator delegator) {
         GenericValue geo = null;
         try {