Skip to content

Commit ea0d9e7

Browse files
committed
Fix linting errors
1 parent 73049ea commit ea0d9e7

File tree

2 files changed

+8
-7
lines changed

2 files changed

+8
-7
lines changed

src/main/java/com/stripe/model/PaymentIntent.java

+6-6
Original file line numberDiff line numberDiff line change
@@ -146,8 +146,8 @@ public PaymentIntent cancel(Map<String, Object> params)
146146
public PaymentIntent cancel(Map<String, Object> params, RequestOptions options)
147147
throws AuthenticationException, InvalidRequestException,
148148
APIConnectionException, CardException, APIException {
149-
return request(RequestMethod.POST, instanceURL(PaymentIntent.class, this.id) + "/cancel", params,
150-
PaymentIntent.class, options);
149+
return request(RequestMethod.POST, instanceURL(PaymentIntent.class, this.id) + "/cancel",
150+
params, PaymentIntent.class, options);
151151
}
152152
// </editor-fold>
153153

@@ -176,8 +176,8 @@ public PaymentIntent capture(Map<String, Object> params)
176176
public PaymentIntent capture(Map<String, Object> params, RequestOptions options)
177177
throws AuthenticationException, InvalidRequestException,
178178
APIConnectionException, CardException, APIException {
179-
return request(RequestMethod.POST, instanceURL(PaymentIntent.class, this.id) + "/capture", params,
180-
PaymentIntent.class, options);
179+
return request(RequestMethod.POST, instanceURL(PaymentIntent.class, this.id) + "/capture",
180+
params, PaymentIntent.class, options);
181181
}
182182
// </editor-fold>
183183

@@ -206,8 +206,8 @@ public PaymentIntent confirm(Map<String, Object> params)
206206
public PaymentIntent confirm(Map<String, Object> params, RequestOptions options)
207207
throws AuthenticationException, InvalidRequestException,
208208
APIConnectionException, CardException, APIException {
209-
return request(RequestMethod.POST, instanceURL(PaymentIntent.class, this.id) + "/confirm", params,
210-
PaymentIntent.class, options);
209+
return request(RequestMethod.POST, instanceURL(PaymentIntent.class, this.id) + "/confirm",
210+
params, PaymentIntent.class, options);
211211
}
212212
// </editor-fold>
213213

src/test/java/com/stripe/model/PaymentIntentTest.java

+2-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,8 @@ public void testDeserialize() throws Exception {
2929
@Test
3030
public void testDeserializeWithExpansions() throws Exception {
3131
final PaymentIntent resource = APIResource.GSON.fromJson(
32-
getResourceAsString("/api_fixtures/payment_intent_with_expansions.json"), PaymentIntent.class);
32+
getResourceAsString("/api_fixtures/payment_intent_with_expansions.json"),
33+
PaymentIntent.class);
3334

3435
assertNotNull(resource);
3536
assertNotNull(resource.getId());

0 commit comments

Comments
 (0)