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

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

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

Arun Patidar-4
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) {