You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by ar...@apache.org on 2016/06/28 13:56:41 UTC
svn commit: r1750511 -
/ofbiz/trunk/applications/party/src/org/ofbiz/party/party/PartyRelationshipHelper.java
Author: arunpatidar
Date: Tue Jun 28 13:56:41 2016
New Revision: 1750511
URL: http://svn.apache.org/viewvc?rev=1750511&view=rev
Log:
Applied patch from jira issue - OFBIZ-7419 - Enforce noninstantiability to PartyRelationshipHelper Class. Thanks Rishi Solanki and Chinmay Patidar for your contribution.
Modified:
ofbiz/trunk/applications/party/src/org/ofbiz/party/party/PartyRelationshipHelper.java
Modified: ofbiz/trunk/applications/party/src/org/ofbiz/party/party/PartyRelationshipHelper.java
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/party/src/org/ofbiz/party/party/PartyRelationshipHelper.java?rev=1750511&r1=1750510&r2=1750511&view=diff
==============================================================================
--- ofbiz/trunk/applications/party/src/org/ofbiz/party/party/PartyRelationshipHelper.java (original)
+++ ofbiz/trunk/applications/party/src/org/ofbiz/party/party/PartyRelationshipHelper.java Tue Jun 28 13:56:41 2016
@@ -38,9 +38,10 @@ import org.ofbiz.entity.util.EntityQuery
/**
* PartyRelationshipHelper
*/
-public class PartyRelationshipHelper {
+public final class PartyRelationshipHelper {
public static final String module = PartyRelationshipHelper.class.getName();
+ private PartyRelationshipHelper() {}
/** Return A List of the active Party Relationships (ie with valid from and thru dates)
*@param delegator needed Delegator