Skip to content

Commit 3949bb0

Browse files
committed
resolve checkstyle violation
1 parent 3379d0c commit 3949bb0

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

src/main/java/com/darksci/pardot/api/PardotClient.java

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -288,10 +288,9 @@ private <T> T submitRequest(final Request request, ResponseParser<T> responsePar
288288

289289
// Handle various error codes
290290
// Session expiration error codes.
291-
if (
292-
ErrorCode.INVALID_API_OR_USER_KEY.getCode() == error.getCode() ||
293-
ErrorCode.INVALID_ACCESS_TOKEN.getCode() == error.getCode()
294-
) {
291+
if (ErrorCode.INVALID_API_OR_USER_KEY.getCode() == error.getCode()
292+
|| ErrorCode.INVALID_ACCESS_TOKEN.getCode() == error.getCode()) {
293+
295294
// This means the user session has expired. Lets attempt to renew it.
296295
sessionRefreshHandler.clearToken();
297296
checkLogin();

0 commit comments

Comments
 (0)