Skip to content

Commit db6e39d

Browse files
committed
Fixed indentation issues.
1 parent 5b65790 commit db6e39d

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/main/java/com/microsoft/sqlserver/jdbc/SQLServerConnection.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -6110,7 +6110,7 @@ private SqlAuthenticationToken getFedAuthToken(SqlFedAuthInfo fedAuthInfo) throw
61106110
}
61116111

61126112
while (true) {
6113-
int millisecondsRemaining = timerRemaining(timerExpire);
6113+
int millisecondsRemaining = timerRemaining(timerExpire);
61146114
if (authenticationString.equalsIgnoreCase(SqlAuthentication.ACTIVE_DIRECTORY_PASSWORD.toString())) {
61156115
fedAuthToken = SQLServerMSAL4JUtils.getSqlFedAuthToken(fedAuthInfo, user,
61166116
activeConnectionProperties.getProperty(SQLServerDriverStringProperty.PASSWORD.toString()),

src/main/java/com/microsoft/sqlserver/jdbc/SQLServerMSAL4JUtils.java

+3-3
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ static SqlAuthenticationToken getSqlFedAuthToken(SqlFedAuthInfo fedAuthInfo, Str
134134
} catch (MalformedURLException | ExecutionException e) {
135135
throw getCorrectedException(e, user, authenticationString);
136136
} catch (TimeoutException e) {
137-
throw new SQLServerException(SQLServerException.getErrString("R_connectionTimedOut"), e);
137+
throw new SQLServerException(SQLServerException.getErrString("R_connectionTimedOut"), e);
138138
} finally {
139139
lock.unlock();
140140
executorService.shutdown();
@@ -201,7 +201,7 @@ static SqlAuthenticationToken getSqlFedAuthTokenPrincipal(SqlFedAuthInfo fedAuth
201201
} catch (MalformedURLException | ExecutionException e) {
202202
throw getCorrectedException(e, aadPrincipalID, authenticationString);
203203
} catch (TimeoutException e) {
204-
throw new SQLServerException(SQLServerException.getErrString("R_connectionTimedOut"), e);
204+
throw new SQLServerException(SQLServerException.getErrString("R_connectionTimedOut"), e);
205205
} finally {
206206
lock.unlock();
207207
executorService.shutdown();
@@ -469,7 +469,7 @@ static SqlAuthenticationToken getSqlFedAuthTokenInteractive(SqlFedAuthInfo fedAu
469469
} catch (MalformedURLException | URISyntaxException | ExecutionException e) {
470470
throw getCorrectedException(e, user, authenticationString);
471471
} catch (TimeoutException e) {
472-
throw new SQLServerException(SQLServerException.getErrString("R_connectionTimedOut"), e);
472+
throw new SQLServerException(SQLServerException.getErrString("R_connectionTimedOut"), e);
473473
} finally {
474474
lock.unlock();
475475
executorService.shutdown();

0 commit comments

Comments
 (0)