You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There are two times where the SELECT_METHOD property is extracted, only one checks for values and assigns it to the field. The locations can probably be consolidated
There are two times where the SELECT_METHOD property is extracted, only one checks for values and assigns it to the field. The locations can probably be consolidated
https://github.com/Microsoft/mssql-jdbc/blob/bb72f76374479740c1084c7a321c522609de3961/src/main/java/com/microsoft/sqlserver/jdbc/SQLServerConnection.java#L1758
https://github.com/Microsoft/mssql-jdbc/blob/bb72f76374479740c1084c7a321c522609de3961/src/main/java/com/microsoft/sqlserver/jdbc/SQLServerConnection.java#L1482
Suggestion (which also reduces number of case changes and compares):
And remove the second occurrence. I can make a PR if you agree.
The text was updated successfully, but these errors were encountered: