Skip to content

Commit 0f6d630

Browse files
committed
fixing syntax error
1 parent 474a85e commit 0f6d630

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

samples/nvp/src/main/java/com/cybersource/sample/RunSample.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,7 @@ public static String runCapture(Properties props, String authRequestID,String pr
210210
/**
211211
* @param props
212212
* @param authRequestID
213-
* @param request
213+
* @param propFileName
214214
*/
215215
public static void runAuthReversal(Properties props, String authRequestID, String propFileName) {
216216
Properties authReversalProps = new Properties();

samples/xml/src/main/java/com/cybersource/sample/RunSample.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ public static void main(String[] args) {
8585
captureReply = runCapture(props, requestID, "capture");
8686
requestID = getRequestID(captureReply);
8787
decision = getDecisonCode(captureReply);
88-
if (requestID != null && "decline".equalsIgnoreCase(decision)))
88+
if (requestID != null && "decline".equalsIgnoreCase(decision))
8989
runCredit(props, requestID, "credit");
9090
break;
9191

@@ -95,7 +95,7 @@ public static void main(String[] args) {
9595
break;
9696
requestID = getRequestID(authReply);
9797
decision = getDecisonCode(authReply);
98-
if (requestID != null && "decline".equalsIgnoreCase(decision)))
98+
if (requestID != null && "decline".equalsIgnoreCase(decision))
9999
runAuthReversal(props, requestID, "authReversal");
100100
break;
101101

0 commit comments

Comments
 (0)