result = oauthRequest.refreshToken(refreshToken);
if (result != null && StringExtensions.IsNullOrBlank(result.getRefreshToken())) {
Logger.i(TAG, "Refresh token is not returned or empty", "");
result.setRefreshToken(refreshToken);
}
<BUG>} catch (final IOException | AuthenticationException exc) {
if (exc instanceof AuthenticationException
&& ((AuthenticationException) exc).getCode().equals(ADALError.SERVER_ERROR_FOR_RETRY)
&& mOutageModeIsOn) {</BUG>
final TokenCacheItem accessTokenItem = mTokenCacheAccessor.getRegularRefreshTokenCacheItem(mAuthRequest.getResource(),

result = oauthRequest.refreshToken(refreshToken);
if (result != null && StringExtensions.IsNullOrBlank(result.getRefreshToken())) {
Logger.i(TAG, "Refresh token is not returned or empty", "");
result.setRefreshToken(refreshToken);
}
} catch (final AuthenticationException exc) {
if (exc.getCode().equals(ADALError.SERVER_NOT_RESPONDING) && mOutageModeIsOn) {
final TokenCacheItem accessTokenItem = mTokenCacheAccessor.getRegularRefreshTokenCacheItem(mAuthRequest.getResource(),
