Skip to content

Commit caddb44

Browse files
committed
Formatting fixes
1 parent 9191641 commit caddb44

File tree

2 files changed

+26
-26
lines changed

2 files changed

+26
-26
lines changed

generator/cybersource-java-template/libraries/okhttp-gson/ApiClient.mustache

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -142,17 +142,17 @@ public class ApiClient {
142142
*/
143143
public static final String LENIENT_DATETIME_FORMAT = "yyyy-MM-dd'T'HH:mm:ss.SSSZ";
144144

145-
/**
146-
* Use this field <b>ONLY IF</b> you have more than one instance of ApiClient.
147-
* This field should <b>NOT</b> be used/accessed for a singleton object.
148-
*/
149-
public String responseCode;
150-
151-
/**
152-
* Use this field <b>ONLY IF</b> you have more than one instance of ApiClient.
153-
* This field should <b>NOT</b> be used/accessed for a singleton object.
154-
*/
155-
public String status;
145+
/**
146+
* Use this field <b>ONLY IF</b> you have more than one instance of ApiClient.
147+
* This field should <b>NOT</b> be used/accessed for a singleton object.
148+
*/
149+
public String responseCode;
150+
151+
/**
152+
* Use this field <b>ONLY IF</b> you have more than one instance of ApiClient.
153+
* This field should <b>NOT</b> be used/accessed for a singleton object.
154+
*/
155+
public String status;
156156

157157
public MerchantConfig merchantConfig;
158158
public RequestTransactionMetrics apiRequestMetrics = new RequestTransactionMetrics();
@@ -1203,7 +1203,7 @@ public class ApiClient {
12031203
Response response = call.execute();
12041204
String responseCode = String.valueOf(response.code());
12051205
this.status = response.message();
1206-
this.responseCode= responseCode;
1206+
this.responseCode = responseCode;
12071207
12081208
logger.debug("Network Response :\n" + json.serialize(response.headers()));
12091209
@@ -1394,7 +1394,7 @@ public class ApiClient {
13941394
requestTarget= url.toString();
13951395
}
13961396
} else {
1397-
requestTarget =path;
1397+
requestTarget = path;
13981398
}
13991399

14001400
Authorization authorization = new Authorization();

src/main/java/Invokers/ApiClient.java

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -142,17 +142,17 @@ public class ApiClient {
142142
*/
143143
public static final String LENIENT_DATETIME_FORMAT = "yyyy-MM-dd'T'HH:mm:ss.SSSZ";
144144

145-
/**
146-
* Use this field <b>ONLY IF</b> you have more than one instance of ApiClient.
147-
* This field should <b>NOT</b> be used/accessed for a singleton object.
148-
*/
149-
public String responseCode;
150-
151-
/**
152-
* Use this field <b>ONLY IF</b> you have more than one instance of ApiClient.
153-
* This field should <b>NOT</b> be used/accessed for a singleton object.
154-
*/
155-
public String status;
145+
/**
146+
* Use this field <b>ONLY IF</b> you have more than one instance of ApiClient.
147+
* This field should <b>NOT</b> be used/accessed for a singleton object.
148+
*/
149+
public String responseCode;
150+
151+
/**
152+
* Use this field <b>ONLY IF</b> you have more than one instance of ApiClient.
153+
* This field should <b>NOT</b> be used/accessed for a singleton object.
154+
*/
155+
public String status;
156156

157157
public MerchantConfig merchantConfig;
158158
public RequestTransactionMetrics apiRequestMetrics = new RequestTransactionMetrics();
@@ -1203,7 +1203,7 @@ public <T> ApiResponse<T> execute(Call call, Type returnType) throws ApiExceptio
12031203
Response response = call.execute();
12041204
String responseCode = String.valueOf(response.code());
12051205
this.status = response.message();
1206-
this.responseCode= responseCode;
1206+
this.responseCode = responseCode;
12071207

12081208
logger.debug("Network Response :\n" + json.serialize(response.headers()));
12091209

@@ -1394,7 +1394,7 @@ public void callAuthenticationHeader(String method, String path, Object body, Li
13941394
requestTarget= url.toString();
13951395
}
13961396
} else {
1397-
requestTarget =path;
1397+
requestTarget = path;
13981398
}
13991399

14001400
Authorization authorization = new Authorization();

0 commit comments

Comments
 (0)