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/23 14:11:07 UTC

svn commit: r1749894 - /ofbiz/trunk/applications/accounting/src/org/ofbiz/accounting/thirdparty/sagepay/SagePayUtil.java

Author: arunpatidar
Date: Thu Jun 23 14:11:07 2016
New Revision: 1749894

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

Modified:
    ofbiz/trunk/applications/accounting/src/org/ofbiz/accounting/thirdparty/sagepay/SagePayUtil.java

Modified: ofbiz/trunk/applications/accounting/src/org/ofbiz/accounting/thirdparty/sagepay/SagePayUtil.java
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/accounting/src/org/ofbiz/accounting/thirdparty/sagepay/SagePayUtil.java?rev=1749894&r1=1749893&r2=1749894&view=diff
==============================================================================
--- ofbiz/trunk/applications/accounting/src/org/ofbiz/accounting/thirdparty/sagepay/SagePayUtil.java (original)
+++ ofbiz/trunk/applications/accounting/src/org/ofbiz/accounting/thirdparty/sagepay/SagePayUtil.java Thu Jun 23 14:11:07 2016
@@ -43,9 +43,10 @@ import org.apache.http.message.BasicName
 import org.ofbiz.base.util.Debug;
 
 
-public class SagePayUtil
-{
+public final class SagePayUtil {
+
     public static final String module = SagePayUtil.class.getName();
+    private SagePayUtil() {}
 
     public static Map<String, Object> buildCardAuthorisationPaymentResponse
     (Boolean authResult, String authCode, String authFlag, BigDecimal processAmount, String authRefNum, String authAltRefNum, String authMessage) {