Skip to content

Commit

Permalink
Fixing indentation.
Browse files Browse the repository at this point in the history
  • Loading branch information
conniey committed Jan 7, 2020
1 parent e247148 commit a572672
Showing 1 changed file with 9 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ public void close() {

if (subscription != null) {
subscription.dispose();
}
}
}

private Disposable scheduleRefreshTokenTask(Duration initialRefresh) {
Expand Down Expand Up @@ -133,13 +133,13 @@ private Disposable scheduleRefreshTokenTask(Duration initialRefresh) {
lastRefreshInterval.set(nextRefresh);
durationSourceSink.next(Duration.ofMillis(interval));
}, error -> {
logger.error("Error occurred while refreshing token that is not retriable. Not scheduling"
+ " refresh task. Use ActiveClientTokenManager.authorize() to schedule task again.", error);
hasScheduled.set(false);
durationSourceSink.complete();
authorizationResultsSink.error(error);
}, () -> {
logger.info("Completed refresh token task.");
});
logger.error("Error occurred while refreshing token that is not retriable. Not scheduling"
+ " refresh task. Use ActiveClientTokenManager.authorize() to schedule task again.", error);
hasScheduled.set(false);
durationSourceSink.complete();
authorizationResultsSink.error(error);
}, () -> {
logger.info("Completed refresh token task.");
});
}
}

0 comments on commit a572672

Please sign in to comment.